1
0
Fork 0
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:
Gunther Brunner 2014-03-13 16:35:24 +09:00
parent 7f6fa763fb
commit 710a5daeab
7 changed files with 37 additions and 32 deletions

View file

@ -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})
]
}