chore: TerserPlugin 添加 parallel 支持

This commit is contained in:
hz
2025-11-03 09:07:00 +08:00
parent 0befa69044
commit 64a44ee2e0

View File

@@ -31,6 +31,7 @@ module.exports = {
}
}
},
chainWebpack: config => {
const { codeInspectorPlugin } = require('code-inspector-plugin')
@@ -59,6 +60,7 @@ module.exports = {
config.optimization = {
minimizer: [
new TerserPlugin({
parallel: true,
terserOptions: {
output: {
comments: false