You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/configuration/stats.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ contributors:
6
6
- sallar
7
7
- jungomi
8
8
- ldrick
9
+
- jasonblanchard
9
10
---
10
11
11
12
The `stats` option lets you precisely control what bundle information gets displayed. This can be a nice middle ground if you don't want to use `quiet` or `noInfo` because you want some bundle information, but not all of it.
@@ -40,6 +41,7 @@ stats: {
40
41
// Add asset Information
41
42
assets:true,
42
43
// Sort assets by a field
44
+
// You can reverse the sort with `!field`.
43
45
assetsSort:"field",
44
46
// Add information about cached (not built) modules
45
47
cached:true,
@@ -54,6 +56,7 @@ stats: {
54
56
// Add the origins of chunks and chunk merging info
55
57
chunkOrigins:true,
56
58
// Sort the chunks by a field
59
+
// You can reverse the sort with `!field`. Default is `id`.
57
60
chunksSort:"field",
58
61
// Context directory for request shortening
59
62
context:"../src/",
@@ -87,6 +90,7 @@ stats: {
87
90
// Add built modules information
88
91
modules:true,
89
92
// Sort the modules by a field
93
+
// You can reverse the sort with `!field`. Default is `id`.
90
94
modulesSort:"field",
91
95
// Show dependencies and origin of warnings/errors (since webpack 2.5.0)
0 commit comments