chunkHash in stats output

fixed #647
This commit is contained in:
Tobias Koppers 2014-12-31 13:42:05 +01:00
parent 76f1c2fa0e
commit 4b5e7339f4
1 changed files with 1 additions and 0 deletions

View File

@ -195,6 +195,7 @@ Stats.prototype.toJson = function toJson(options, forToString) {
size: chunk.modules.reduce(function(size, module) { return size + module.size(); }, 0),
names: chunk.name ? [chunk.name] : [],
files: chunk.files.slice(),
hash: chunk.renderedHash,
parents: chunk.parents.map(function(c) {
return c.id;
})