Skip to content

Commit 4be1104

Browse files
franjohn21montogeek
authored andcommitted
docs(api): Documentation update for output path in Stats object (#1807)
* Update stats.md * Update stats.md * Update stats.md * Update stats.md * Update stats.md
1 parent b066121 commit 4be1104

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/api/stats.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Stats Data
33
sort: 3
44
contributors:
55
- skipjack
6+
- franjohn21
67
---
78

89
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
2425
"hash": "11593e3b3ac85436984a", // Compilation specific hash
2526
"time": 2469, // Compilation time in milliseconds
2627
"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
2729
"assetsByChunkName": {
2830
// Chunk name to emitted asset(s) mapping
2931
"main": "web.js?h=11593e3b3ac85436984a",

0 commit comments

Comments
 (0)