From 946df938b202dc246c9bc7e47cbd914e9460e5fe Mon Sep 17 00:00:00 2001 From: EugeneHlushko Date: Fri, 13 Dec 2019 20:48:13 +0200 Subject: [PATCH 1/3] docs(config) stats.preset option extended according to codebase --- src/content/configuration/stats.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/configuration/stats.md b/src/content/configuration/stats.md index d91a0e8513ab..318d241ad267 100644 --- a/src/content/configuration/stats.md +++ b/src/content/configuration/stats.md @@ -594,7 +594,7 @@ module.exports = { ### `stats.preset` -`string` +`string` `boolean: false` 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). @@ -607,6 +607,8 @@ module.exports = { }; ``` +Set `stats.preset` to `false` is the same as using a [preset](/configuration/stats/#stats) `'none'`. + ### `stats.providedExports` `boolean = false` From e9b3b20b2fabfcc974cf1386e2884b1b1aa37bd8 Mon Sep 17 00:00:00 2001 From: EugeneHlushko Date: Fri, 13 Dec 2019 20:49:51 +0200 Subject: [PATCH 2/3] docs(config) stats.preset option extension grammar improved --- src/content/configuration/stats.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/stats.md b/src/content/configuration/stats.md index 318d241ad267..c9dd08b117b6 100644 --- a/src/content/configuration/stats.md +++ b/src/content/configuration/stats.md @@ -607,7 +607,7 @@ module.exports = { }; ``` -Set `stats.preset` to `false` is the same as using a [preset](/configuration/stats/#stats) `'none'`. +Set `stats.preset` to `false` tells webpack to use `'none'` [stats preset](/configuration/stats/#stats). ### `stats.providedExports` From 58795e4f9ac32f43a5db620987077b9ac0c035ed Mon Sep 17 00:00:00 2001 From: Eugene Hlushko Date: Thu, 19 Dec 2019 15:44:20 +0200 Subject: [PATCH 3/3] Update src/content/configuration/stats.md --- src/content/configuration/stats.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/stats.md b/src/content/configuration/stats.md index c9dd08b117b6..844da3fe282c 100644 --- a/src/content/configuration/stats.md +++ b/src/content/configuration/stats.md @@ -607,7 +607,7 @@ module.exports = { }; ``` -Set `stats.preset` to `false` tells webpack to use `'none'` [stats preset](/configuration/stats/#stats). +Setting value of `stats.preset` to `false` tells webpack to use `'none'` [stats preset](/configuration/stats/#stats). ### `stats.providedExports`