removed uglify
This commit is contained in:
parent
5c1f4321ed
commit
5874c80e85
|
@ -59,14 +59,14 @@ var config = {
|
|||
],
|
||||
devtool: 'source-map'
|
||||
};
|
||||
|
||||
if (!devMode) {
|
||||
config.plugins.push(
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
minimize: true,
|
||||
compress: {warnings: false}
|
||||
})
|
||||
);
|
||||
}
|
||||
// FIXME: https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/132
|
||||
// if (!devMode) {
|
||||
// config.plugins.push(
|
||||
// new webpack.optimize.UglifyJsPlugin({
|
||||
// minimize: true,
|
||||
// compress: {warnings: false}
|
||||
// })
|
||||
// );
|
||||
// }
|
||||
|
||||
module.exports = config;
|
||||
|
|
Loading…
Reference in New Issue