We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d4269c commit 356b651Copy full SHA for 356b651
lib/getPlaceholderIdent.js
@@ -6,7 +6,7 @@ var loaderUtils = require("loader-utils");
6
module.exports = function getPlaceholderIdent(loaderContext, placeholderName) {
7
var hash = require("crypto").createHash("md5");
8
hash.update(loaderContext.options && typeof loaderContext.options.context === "string" ?
9
- loaderUtils.stringifyRequest({ context: loaderContext.options.context }, loaderContext.request) :
+ loaderUtils.stringifyRequest({ context: loaderContext.options.context }, loaderUtils.getRemainingRequest(loaderContext)) :
10
loaderContext.request);
11
hash.update(placeholderName);
12
return "z" + hash.digest("hex");
0 commit comments