Skip to content

Commit 356b651

Browse files
committed
consistent placeholder names
webpack/react-start#69
1 parent 4d4269c commit 356b651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/getPlaceholderIdent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var loaderUtils = require("loader-utils");
66
module.exports = function getPlaceholderIdent(loaderContext, placeholderName) {
77
var hash = require("crypto").createHash("md5");
88
hash.update(loaderContext.options && typeof loaderContext.options.context === "string" ?
9-
loaderUtils.stringifyRequest({ context: loaderContext.options.context }, loaderContext.request) :
9+
loaderUtils.stringifyRequest({ context: loaderContext.options.context }, loaderUtils.getRemainingRequest(loaderContext)) :
1010
loaderContext.request);
1111
hash.update(placeholderName);
1212
return "z" + hash.digest("hex");

0 commit comments

Comments
 (0)