Turn on uglify again
This commit is contained in:
parent
83ae2bab07
commit
fb758d3135
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue