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.
resourcePath
resource
1 parent a23a466 commit e2c02acCopy full SHA for e2c02ac
src/getOptions.js
@@ -16,7 +16,7 @@ function getOptions(loaderContext) {
16
};
17
18
// We need to set the filename because otherwise our WebpackFileManager will receive an undefined path for the entry
19
- options.filename = loaderContext.resource;
+ options.filename = loaderContext.resourcePath;
20
21
// When no paths are given, we use the webpack resolver
22
if ('paths' in options === false) {
0 commit comments