From 995acb691886aa9a7a5cf17415bf6fdc3fe0396f Mon Sep 17 00:00:00 2001 From: Alexander Myshov Date: Mon, 2 Dec 2019 18:21:16 +0700 Subject: [PATCH] docs(config): add description of the option `stats.preset` --- src/content/configuration/stats.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/content/configuration/stats.md b/src/content/configuration/stats.md index 413fc775b7e8..10648bf06491 100644 --- a/src/content/configuration/stats.md +++ b/src/content/configuration/stats.md @@ -591,6 +591,21 @@ module.exports = { }; ``` +### `stats.preset` + +`string` + +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). + +```javascript +module.exports = { + //... + stats: { + preset: 'minimal' + } +}; +``` + ### `stats.providedExports` `boolean = false`