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 Apr 6, 2018
1 parent 6a865e6 commit 79a0b4c
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 [email protected].
// 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 79a0b4c

Please sign in to comment.