Skip to content

Commit 7bc38d4

Browse files
author
Mohsen Azimi
committed
CR feedback
1 parent 9abfd87 commit 7bc38d4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/NormalModule.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ class NonErrorEmittedError extends WebpackError {
6161
}
6262
}
6363

64-
/** @type {Map<string, string>} */
65-
const dependencyTemplatesHashMap = new Map();
66-
6764
class NormalModule extends Module {
6865
constructor({
6966
type,
@@ -400,7 +397,7 @@ class NormalModule extends Module {
400397
}
401398

402399
getHashDigest(dependencyTemplates) {
403-
let dtHash = dependencyTemplatesHashMap.get("hash");
400+
let dtHash = dependencyTemplates.get("hash");
404401
return `${this.hash}-${dtHash}`;
405402
}
406403

0 commit comments

Comments
 (0)