Skip to content

docs(stats, cli): add new stats options #1320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,19 @@ These options allow webpack to display various [stats](/configuration/stats/) an
| Parameter | Explanation | Type |
|--------------------------------|--------------------------------------------------------------------|---------|
| --color, --colors | Enables/Disables colors on the console [default: (supports-color)] | boolean |
| --display | Select [display preset](/configuration/stats) (verbose, detailed, normal, minimal, errors-only, none; since webpack 3.0.0) | string |
| --display-cached | Display also cached modules in the output | boolean |
| --display-cached-assets | Display also cached assets in the output | boolean |
| --display-chunks | Display chunks in the output | boolean |
| --display-depth | Display distance from entry point for each module | boolean |
| --display-entrypoints | Display entry points in the output | boolean |
| --display-error-details | Display details about errors | boolean |
| --display-exclude | Exclude modules in the output | boolean |
| --display-max-modules | Sets the maximum number of visible modules in output | number |
| --display-modules | Display even excluded modules in the output | boolean |
| --display-optimization-bailout | Scope hoisting fallback trigger (since webpack 3.0.0) | boolean |
| --display-origins | Display origins of chunks in the output | boolean |
| --display-provided-exports | Display information about exports provided from modules | boolean |
| --display-reasons | Display reasons about module inclusion in the output | boolean |
| --display-used-exports | Display information about used exports in modules (Tree Shaking) | boolean |
| --hide-modules | Hides info about modules | boolean |
Expand Down
1 change: 1 addition & 0 deletions content/configuration/stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ stats: "errors-only"
| `"minimal"` | *none* | Only output when errors or new compilation happen |
| `"none"` | `false` | Output nothing |
| `"normal"` | `true` | Standard output |
| `"detailed"` | *none* | Detailed output (since webpack 3.0.0) |
| `"verbose"` | *none* | Output everything |

For more granular control, it is possible to specify exactly what information you want. Please note that all of the options in this object are optional.
Expand Down