Skip to content

Commit b4b2945

Browse files
committed
Merge pull request webpack#277 from lettertwo/module-asset-stats
Add assets to module stats
2 parents 943a17c + ebda431 commit b4b2945

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Stats.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ Stats.prototype.toJson = function toJson(options, forToString) {
124124
chunks: module.chunks.map(function(chunk) {
125125
return chunk.id;
126126
}),
127+
assets: Object.keys(module.assets || {}),
127128
issuer: module.issuer,
128129
profile: module.profile,
129130
failed: !!module.error,

0 commit comments

Comments
 (0)