mirror of https://github.com/webpack/webpack.git
parent
76f1c2fa0e
commit
4b5e7339f4
|
|
@ -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;
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue