We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75d67a8 commit 5888095Copy full SHA for 5888095
index.js
@@ -16,7 +16,7 @@ module.exports.pitch = function(remainingRequest) {
16
"if(typeof content === 'string') content = [[module.id, content, '']];",
17
"// Prepare cssTransformation",
18
"var transform;",
19
- query.transform ? "transform = require('" + path.resolve(query.transform) + "');" : "",
+ query.transform ? "transform = require(" + loaderUtils.stringifyRequest(this, "!" + path.resolve(query.transform)) + ");" : "",
20
"var options = " + JSON.stringify(query),
21
"options.transform = transform",
22
"// add the styles to the DOM",
0 commit comments