Skip to content

Commit a0ddd55

Browse files
committed
fix DelegatedModule does not updateHash with its parameters
fixes webpack#5684
1 parent 6226759 commit a0ddd55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/DelegatedModule.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ class DelegatedModule extends Module {
8787
size() {
8888
return 42;
8989
}
90+
91+
updateHash(hash) {
92+
hash.update(this.identifier());
93+
super.updateHash(hash);
94+
}
9095
}
9196

9297
module.exports = DelegatedModule;

0 commit comments

Comments
 (0)