There was an error while loading. Please reload this page.
1 parent 2b6b4f3 commit 67aa139Copy full SHA for 67aa139
src/utils.js
@@ -81,9 +81,9 @@ function proxyCustomImporters(importers, loaderContext) {
81
return [].concat(importers).map(
82
(importer) =>
83
function proxyImporter(...args) {
84
- this.webpackLoaderContext = loaderContext;
+ const self = { ...this, webpackLoaderContext: loaderContext };
85
86
- return importer.apply(this, args);
+ return importer.apply(self, args);
87
}
88
);
89
0 commit comments