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.
this. resourcePath
1 parent 3be5582 commit cc32542Copy full SHA for cc32542
index.js
@@ -18,7 +18,7 @@ module.exports.pitch = function (remainingRequest) {
18
var addStylesServerPath = loaderUtils.stringifyRequest(this, '!' + path.join(__dirname, 'lib/addStylesServer.js'))
19
20
var request = loaderUtils.stringifyRequest(this, '!!' + remainingRequest)
21
- var id = JSON.stringify(hash(request + this.resourcePath))
+ var id = JSON.stringify(hash(request + path.relative(__dirname, this.resourcePath)))
22
var options = loaderUtils.getOptions(this) || {}
23
24
// direct css import from js --> direct, or manually call `styles.__inject__(ssrContext)` with `manualInject` option
0 commit comments