diff --git a/build/webpack.prod.config.js b/build/webpack.prod.config.js index cfc04abc..c8472dc2 100644 --- a/build/webpack.prod.config.js +++ b/build/webpack.prod.config.js @@ -32,7 +32,15 @@ module.exports = merge(baseWpConfig, { }, optimization: { minimizer: [ - new TerserPlugin(), + new TerserPlugin({ + cache: true, + parallel: true, + terserOptions: { + output: { + comments: false, + }, + }, + }), new OptimizeCSSAssetsPlugin() ] },