Skip to content

Commit

Permalink
perf(build-config): enable caching and parallelism in uglify plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ZauberNerd committed Feb 5, 2018
1 parent 6dfbcd6 commit 0530c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/build-config/configs/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ module.exports = {
sourceMap: true,
}),
new webpack.optimize.ModuleConcatenationPlugin(),
new UglifyPlugin({ sourceMap: true }),
new UglifyPlugin({ sourceMap: true, cache: true, parallel: true }),
],
};

0 comments on commit 0530c24

Please sign in to comment.