We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 809b690 commit 807fcecCopy full SHA for 807fcec
lib/interpolateName.js
@@ -91,7 +91,7 @@ function interpolateName(loaderContext, name, options) {
91
// `hash` and `contenthash` are same in `loader-utils` context
92
// let's keep `hash` for backward compatibility
93
.replace(
94
- /\[(?:([^:\]]+):)?(?:hash||contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,
+ /\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,
95
(all, hashType, digestType, maxLength) =>
96
getHashDigest(content, hashType, digestType, parseInt(maxLength, 10))
97
)
0 commit comments