mirror of https://github.com/webpack/webpack.git
fix edgecase without any hash used
This commit is contained in:
parent
e3fcabd6f6
commit
b13fe97801
|
@ -89,6 +89,7 @@ class RealContentHashPlugin {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (hashToAssets.size === 0) return;
|
||||
const hashRegExp = new RegExp(
|
||||
Array.from(hashToAssets.keys(), quoteMeta).join("|"),
|
||||
"g"
|
||||
|
|
Loading…
Reference in New Issue