Skip to content

Commit

Permalink
Update to use workerThreads config in
Browse files Browse the repository at this point in the history
TerserPlugin for consistency
  • Loading branch information
ijjk committed Oct 28, 2019
1 parent efc83a2 commit 95747e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class TaskRunner {

if (this.maxConcurrentWorkers > 1) {
this.workers = new Worker(worker, {
enableWorkerThreads: true,
enableWorkerThreads: this.useWorkerThreads,
numWorkers: this.maxConcurrentWorkers,
})
this.boundWorkers = options => this.workers.default(options)
Expand Down

0 comments on commit 95747e1

Please sign in to comment.