Skip to content

Commit 9ea1999

Browse files
committed
Rename stats chunk groups property
1 parent a95f414 commit 9ea1999

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ class Stats {
449449
}
450450

451451
if (showChunkGroups) {
452-
obj.chunkGroups = fnChunkGroup(compilation.namedChunkGroups);
452+
obj.namedChunkGroups = fnChunkGroup(compilation.namedChunkGroups);
453453
}
454454

455455
const fnModule = module => {

test/Stats.unittest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ describe(
164164
children: [],
165165
chunks: [],
166166
entrypoints: {},
167-
chunkGroups: {},
167+
namedChunkGroups: {},
168168
filteredAssets: 0,
169169
filteredModules: 0,
170170
errors: [],

0 commit comments

Comments
 (0)