Skip to content

Commit f088715

Browse files
docs(config): Clarify stats option sort and default
1 parent 5003179 commit f088715

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/content/configuration/stats.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ stats: {
4040
// Add asset Information
4141
assets: true,
4242
// Sort assets by a field
43+
// You can reverse the sort with `!field`.
4344
assetsSort: "field",
4445
// Add information about cached (not built) modules
4546
cached: true,
@@ -54,6 +55,7 @@ stats: {
5455
// Add the origins of chunks and chunk merging info
5556
chunkOrigins: true,
5657
// Sort the chunks by a field
58+
// You can reverse the sort with `!field`. Default is `id`.
5759
chunksSort: "field",
5860
// Context directory for request shortening
5961
context: "../src/",
@@ -87,6 +89,7 @@ stats: {
8789
// Add built modules information
8890
modules: true,
8991
// Sort the modules by a field
92+
// You can reverse the sort with `!field`. Default is `id`.
9093
modulesSort: "field",
9194
// Show dependencies and origin of warnings/errors (since webpack 2.5.0)
9295
moduleTrace: true,

0 commit comments

Comments
 (0)