mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 07:26:44 +08:00
chore: TerserPlugin 添加 parallel 支持
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user