1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00

- Add Local settings.

- Add Language settings synced back.
This commit is contained in:
Gunther Brunner 2014-03-13 21:03:41 +09:00
parent 710a5daeab
commit eaaf6a36bd
11 changed files with 137 additions and 50 deletions

View file

@ -18,6 +18,7 @@ module.exports = {
'./node_modules'
],
alias: {
'angular-bootstrap': 'angular-bootstrap/ui-bootstrap-tpls',
'localforage': 'localforage/dist/localforage.js',
'socket.io': 'socket.io-client/dist/socket.io',
'oboe': 'oboe/dist/oboe-browser'
@ -39,7 +40,9 @@ module.exports = {
{ test: /angular\.js/, loader: 'exports?angular'},
{ test: /angular-route\.js/, loader: 'imports?angular=angular'},
{ test: /oboe-browser\.js/, loader: 'imports?define=>false!exports?oboe'},
{ test: /localforage\.js/, loader: 'script'}
{ test: /localforage\.js/, loader: 'script'},
{ test: /ui-bootstrap-tpls\.js/, loader: 'script'},
{ test: /dialogs\.js/, loader: 'script'}
],
noParse: [
// pathutil.resource('bower_components')
@ -49,6 +52,10 @@ module.exports = {
new webpack.ResolverPlugin(
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('bower.json', ['main'])
),
new webpack.ResolverPlugin(
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('.bower.json', ['main'])
)
// new webpack.ResolverPlugin(
// new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('package.json', ['main'])
// )