Skip to content

Commit

Permalink
Allows setting of parallelization options (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
masato-hi authored and gauravtiwari committed Aug 16, 2020
1 parent 76c174b commit 6d64a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/environments/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = class extends Base {
optimization: {
minimizer: [
new TerserPlugin({
parallel: true,
parallel: Number.parseInt(process.env.WEBPACKER_PARALLEL, 10) || true,
cache: true,
sourceMap: true,
terserOptions: {
Expand Down

0 comments on commit 6d64a51

Please sign in to comment.