We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afaa20b + 71b1df8 commit 41cff66Copy full SHA for 41cff66
src/index.js
@@ -17,7 +17,7 @@ loader.pitch = function(request) {
17
const cb = this.async();
18
19
const filename = loaderUtils.interpolateName(this, `${options.name || '[hash]'}.worker.js`, {
20
- context: options.context || this.options.context,
+ context: options.context || this.rootContext || this.options.context,
21
regExp: options.regExp
22
});
23
0 commit comments