Merge branch 'dev' into test
This commit is contained in:
commit
7ba6b34d64
|
@ -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