suppress uglifier warnings

an exclude pattern would be nice, but no dice :(
This commit is contained in:
David Kaltschmidt
2015-06-11 20:55:52 +02:00
parent 033b4572ae
commit e89265ee2f

View File

@@ -116,7 +116,7 @@ var appConfig = _.merge({}, config, {
},
plugins: config.plugins.concat(DEBUG ? [] : [
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin(),
new webpack.optimize.UglifyJsPlugin({compress: {warnings: false}}),
new webpack.optimize.AggressiveMergingPlugin()
]
)