Skip to content

Commit

Permalink
ci: fix terser resource problem
Browse files Browse the repository at this point in the history
  • Loading branch information
yqrashawn committed Apr 13, 2021
1 parent 7c98663 commit ebecd37
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ module.exports = function (config, mode) {
},
},
},
minimizer: config.optimization.minimizer.map(minimizerConfig => {
if (
!minimizerConfig ||
!minimizerConfig.options ||
!minimizerConfig.options.parallel
)
return minimizerConfig;
minimizerConfig.options.parallel = 1;
return minimizerConfig;
}),
},
resolve: {
...config.resolve,
Expand Down

0 comments on commit ebecd37

Please sign in to comment.