Skip to content

Commit 5029d17

Browse files
committed
fixed caching bug, incorrectly used chunk hash when global hash is required
1 parent a70f914 commit 5029d17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/MainTemplate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,5 @@ MainTemplate.prototype.updateHash = function(hash) {
156156
};
157157

158158
MainTemplate.prototype.useChunkHash = function(chunk) {
159-
return this.applyPluginsBailResult("global-hash", chunk);
159+
return !this.applyPluginsBailResult("global-hash", chunk);
160160
};

0 commit comments

Comments
 (0)