removed uglify

This commit is contained in:
Daniel Herrero 2017-11-16 09:05:53 +01:00
parent 5c1f4321ed
commit 5874c80e85
1 changed files with 9 additions and 9 deletions

View File

@ -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;