Turn on uglify again

This commit is contained in:
jos 2016-09-17 15:25:26 +02:00
parent 83ae2bab07
commit fb758d3135
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ var compiler = webpack({
}, },
plugins: [ plugins: [
bannerPlugin, bannerPlugin,
// new webpack.optimize.UglifyJsPlugin() new webpack.optimize.UglifyJsPlugin() // TODO: don't minify when watching
], ],
module: { module: {
loaders: loaders loaders: loaders
@ -71,7 +71,7 @@ var compilerMinimalist = webpack({
bannerPlugin, bannerPlugin,
new webpack.IgnorePlugin(new RegExp('^brace$')), new webpack.IgnorePlugin(new RegExp('^brace$')),
new webpack.IgnorePlugin(new RegExp('^ajv')), new webpack.IgnorePlugin(new RegExp('^ajv')),
// new webpack.optimize.UglifyJsPlugin() new webpack.optimize.UglifyJsPlugin() // TODO: don't minify when watching
], ],
module: { module: {
loaders: loaders loaders: loaders