Skip to content

Commit

Permalink
add hash method to concatenated module
Browse files Browse the repository at this point in the history
fixes #5184
  • Loading branch information
sokra committed Jul 7, 2017
1 parent 4bb3018 commit 4e90f43
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/optimize/ConcatenatedModule.js
Expand Up @@ -451,6 +451,13 @@ class ConcatenatedModule extends Module {
return name;
}

updateHash(hash) {
for(const m of this.modules) {
m.updateHash(hash);
}
super.updateHash(hash);
}

}

class HarmonyImportSpecifierDependencyConcatenatedTemplate {
Expand Down

0 comments on commit 4e90f43

Please sign in to comment.