Improve production build config (#8899)

This commit is contained in:
bsky 2018-10-06 15:12:05 +09:00 committed by Yamagishi Kazutoshi
parent 28401962ca
commit 84f82ee2fe

View file

@ -50,11 +50,11 @@ module.exports = merge(sharedConfig, {
minimize: true, minimize: true,
minimizer: [ minimizer: [
new UglifyJsPlugin({ new UglifyJsPlugin({
cache: true,
parallel: true,
sourceMap: true, sourceMap: true,
uglifyOptions: { uglifyOptions: {
mangle: true,
compress: { compress: {
warnings: false, warnings: false,
}, },