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.
1 parent afaa20b commit 71b1df8Copy full SHA for 71b1df8
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