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/api/stats.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: Stats Data
3
3
sort: 3
4
4
contributors:
5
5
- skipjack
6
+
- franjohn21
6
7
---
7
8
8
9
When compiling source code with webpack, users can generate a JSON file containing statistics about modules. These statistics can be used to analyze an application's dependency graph as well as to optimize compilation speed. The file is typically generated with the following CLI command:
@@ -24,6 +25,7 @@ The top-level structure of the output JSON file is fairly straightforward but th
24
25
"hash": "11593e3b3ac85436984a", // Compilation specific hash
25
26
"time": 2469, // Compilation time in milliseconds
26
27
"filteredModules": 0, // A count of excluded modules when [`exclude`](/configuration/stats/#stats) is passed to the [`toJson`](/api/node/#stats-tojson-options-) method
28
+
"outputPath": "/", // path to webpack output directory
0 commit comments