diff --git a/lib/Compilation.js b/lib/Compilation.js
index <HASH>..<HASH> 100644
--- a/lib/Compilation.js
+++ b/lib/Compilation.js
@@ -979,7 +979,7 @@ class Compilation extends Tapable {
 			chunk = chunks[i];
 			const chunkHash = crypto.createHash(hashFunction);
 			if(outputOptions.hashSalt)
-				hash.update(outputOptions.hashSalt);
+				chunkHash.update(outputOptions.hashSalt);
 			chunk.updateHash(chunkHash);
 			if(chunk.hasRuntime()) {
 				this.mainTemplate.updateHashForChunk(chunkHash, chunk);
update chunkhash instead of main hash in chunk hashing loop