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:
parent
710a5daeab
commit
eaaf6a36bd
11 changed files with 137 additions and 50 deletions
|
@ -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'])
|
||||
// )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue