From: bsky Date: Sat, 6 Oct 2018 06:12:05 +0000 (+0900) Subject: Improve production build config (#8899) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=84f82ee2fee7260a4b45fd9556dd7f866fc8bd0e;p=mastodon.git Improve production build config (#8899) --- diff --git a/config/webpack/production.js b/config/webpack/production.js index aca37059e..30147cfe3 100644 --- a/config/webpack/production.js +++ b/config/webpack/production.js @@ -50,11 +50,11 @@ module.exports = merge(sharedConfig, { minimize: true, minimizer: [ new UglifyJsPlugin({ + cache: true, + parallel: true, sourceMap: true, uglifyOptions: { - mangle: true, - compress: { warnings: false, },