mirror of
https://github.com/openstf/stf
synced 2025-10-03 09:49:17 +02:00
- LocalForage dependencies works now.
- Language template using embedded controller.
This commit is contained in:
parent
7f6fa763fb
commit
710a5daeab
7 changed files with 37 additions and 32 deletions
|
@ -18,6 +18,7 @@ module.exports = {
|
|||
'./node_modules'
|
||||
],
|
||||
alias: {
|
||||
'localforage': 'localforage/dist/localforage.js',
|
||||
'socket.io': 'socket.io-client/dist/socket.io',
|
||||
'oboe': 'oboe/dist/oboe-browser'
|
||||
}
|
||||
|
@ -37,7 +38,8 @@ module.exports = {
|
|||
{ test: /\.html/, loader: 'html-loader' },
|
||||
{ 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: /oboe-browser\.js/, loader: 'imports?define=>false!exports?oboe'},
|
||||
{ test: /localforage\.js/, loader: 'script'}
|
||||
],
|
||||
noParse: [
|
||||
// pathutil.resource('bower_components')
|
||||
|
@ -46,7 +48,10 @@ module.exports = {
|
|||
plugins: [
|
||||
new webpack.ResolverPlugin(
|
||||
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('bower.json', ['main'])
|
||||
)
|
||||
),
|
||||
// new webpack.ResolverPlugin(
|
||||
// new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('package.json', ['main'])
|
||||
// )
|
||||
// ,new webpack.optimize.UglifyJsPlugin({mangle: false})
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue