Skip to content

Commit adf60eb

Browse files
myshovmontogeek
authored andcommitted
docs(config): add description of the option stats.preset (#3387)
1 parent f47a827 commit adf60eb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/content/configuration/stats.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,21 @@ module.exports = {
591591
};
592592
```
593593

594+
### `stats.preset`
595+
596+
`string`
597+
598+
Sets the [preset](/configuration/stats/#stats) for the type of information that gets displayed. It is useful for [extending stats behaviours](/configuration/stats/#extending-stats-behaviours).
599+
600+
```javascript
601+
module.exports = {
602+
//...
603+
stats: {
604+
preset: 'minimal'
605+
}
606+
};
607+
```
608+
594609
### `stats.providedExports`
595610

596611
`boolean = false`

0 commit comments

Comments
 (0)