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.
loaderUtils.stringifyRequest
1 parent a6287c5 commit 97508ecCopy full SHA for 97508ec
1 file changed
url.js
@@ -18,7 +18,7 @@ module.exports.pitch = function (request) {
18
19
return [
20
"// style-loader: Adds some reference to a css file to the DOM by adding a <link> tag",
21
- "var update = require(" + JSON.stringify("!" + path.join(__dirname, "lib", "addStyleUrl.js")) + ")(",
+ "var update = require(" + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "lib", "addStyleUrl.js")) + ")(",
22
"\trequire(" + loaderUtils.stringifyRequest(this, "!!" + request) + ")",
23
", " + JSON.stringify(options) + ");",
24
"// Hot Module Replacement",
0 commit comments