Skip to content

Commit 5966dfa

Browse files
committed
docs(stats, cli): add new stats options
1 parent 2562843 commit 5966dfa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

content/api/cli.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,11 @@ These allow you to configure the webpack [resolver](/configuration/resolve/) wit
235235

236236
### Stats Options
237237

238+
| --display | Select [display preset](/configuration/stats) (verbose, detailed, normal, minimal, errors-only, none; since webpack 3.0.0) | string |
239+
| --display-depth | Display distance from entry point for each module | boolean |
240+
| --display-max-modules | Sets the maximum number of visible modules in output | number |
241+
| --display-provided-exports | Display information about exports provided from modules | boolean |
242+
238243
These options allow webpack to display various [stats](/configuration/stats/) and style them differently in the console output.
239244

240245
| Parameter | Explanation | Type |

content/configuration/stats.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ stats: "errors-only"
2929
| `"minimal"` | *none* | Only output when errors or new compilation happen |
3030
| `"none"` | `false` | Output nothing |
3131
| `"normal"` | `true` | Standard output |
32+
| `"detailed"` | *none* | Detailed output (since webpack 3.0.0) |
3233
| `"verbose"` | *none* | Output everything |
3334

3435
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.

0 commit comments

Comments
 (0)