From 0530c24abe7ab440fd7959e2a3619579918633d2 Mon Sep 17 00:00:00 2001 From: ZauberNerd Date: Mon, 5 Feb 2018 12:43:52 +0100 Subject: [PATCH] perf(build-config): enable caching and parallelism in uglify plugin --- packages/build-config/configs/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/build-config/configs/build.js b/packages/build-config/configs/build.js index daae2f359..a417cc33c 100644 --- a/packages/build-config/configs/build.js +++ b/packages/build-config/configs/build.js @@ -70,6 +70,6 @@ module.exports = { sourceMap: true, }), new webpack.optimize.ModuleConcatenationPlugin(), - new UglifyPlugin({ sourceMap: true }), + new UglifyPlugin({ sourceMap: true, cache: true, parallel: true }), ], };