about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbsky <git@bsky.moe>2018-10-06 15:12:05 +0900
committerYamagishi Kazutoshi <ykzts@desire.sh>2018-10-06 15:12:05 +0900
commit84f82ee2fee7260a4b45fd9556dd7f866fc8bd0e (patch)
treec379ff93e75c40e1aaa9714dd4f6831ae8e7a383
parent28401962caff028f328d674878e1f0abd16ffdfd (diff)
Improve production build config (#8899)
-rw-r--r--config/webpack/production.js4
1 files changed, 2 insertions, 2 deletions
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,
           },