Skip to content

Commit 4b5e733

Browse files
committed
chunkHash in stats output
fixed webpack#647
1 parent 76f1c2f commit 4b5e733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Stats.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ Stats.prototype.toJson = function toJson(options, forToString) {
195195
size: chunk.modules.reduce(function(size, module) { return size + module.size(); }, 0),
196196
names: chunk.name ? [chunk.name] : [],
197197
files: chunk.files.slice(),
198+
hash: chunk.renderedHash,
198199
parents: chunk.parents.map(function(c) {
199200
return c.id;
200201
})

0 commit comments

Comments
 (0)