]> cat aescling's git repositories - mastodon.git/commitdiff
Improve production build config (#8899)
authorbsky <git@bsky.moe>
Sat, 6 Oct 2018 06:12:05 +0000 (15:12 +0900)
committerYamagishi Kazutoshi <ykzts@desire.sh>
Sat, 6 Oct 2018 06:12:05 +0000 (15:12 +0900)
config/webpack/production.js

index aca37059e817234daab17086d4dba84b017ad9f7..30147cfe3da87532658439642379851083c05e4a 100644 (file)
@@ -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,
           },