mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-28 00:35:18 +02:00
In the middle of a big refactoring.
This commit is contained in:
@@ -54,19 +54,27 @@ module.exports = function(options) {
|
||||
resolve: {
|
||||
modulesDirectories: [pathutil.resource('lib'), 'web_modules', './../../node_modules'],
|
||||
alias: {
|
||||
angular: 'angular/angular'
|
||||
'socket.io': 'socket.io-client/dist/socket.io'
|
||||
}
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /\.css$/, loader: 'style!css' },
|
||||
{ test: /\.coffee$/, loader: 'coffee' },
|
||||
{ test: /angular\/angular/, loader: 'exports?angular'}
|
||||
{ test: /angular\.js/, loader: 'exports?angular'},
|
||||
{ test: /angular-route\.js/, loader: 'imports?angular=angular'}
|
||||
],
|
||||
noParse: [
|
||||
pathutil.resource('lib')
|
||||
]
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ResolverPlugin(
|
||||
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('bower.json', ['main'])
|
||||
),
|
||||
new webpack.ResolverPlugin(
|
||||
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('.bower.json', ['main'])
|
||||
)
|
||||
]
|
||||
}), {
|
||||
noInfo: false,
|
||||
quiet: false,
|
||||
|
||||
Reference in New Issue
Block a user