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.
webpack >= v4.0.0
1 parent 34e6138 commit 5d33937Copy full SHA for 5d33937
src/index.js
@@ -18,7 +18,7 @@ function pitch() {
18
emitError: this.emitError,
19
emitWarning: this.emitWarning,
20
resolve: this.resolve,
21
- optionsContext: this.options.context,
+ optionsContext: this.rootContext || this.options.context,
22
}, (err, r) => {
23
if (r) {
24
r.fileDependencies.forEach(d => this.addDependency(d));
0 commit comments