Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Commit

Permalink
chore: add code comment for clarity, trigger circle
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape authored and ooflorent committed Apr 23, 2018
1 parent 86588de commit bdbd270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export function pitch(request) {
worker.compiler = this._compilation
.createChildCompiler('worker', worker.options);

// Tapable.apply is deprecated in tapable@1.0.0-x.
// The plugins should now call apply themselves.
new WebWorkerTemplatePlugin(worker.options).apply(worker.compiler);

if (this.target !== 'webworker' && this.target !== 'web') {
Expand Down

0 comments on commit bdbd270

Please sign in to comment.