From 48ff79a8a0d6da21f856917eeadd82646e8d0ccd Mon Sep 17 00:00:00 2001 From: Anshuman Verma Date: Wed, 5 Aug 2020 01:24:22 +0530 Subject: [PATCH 1/2] fix: document related assets --- 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 750cbe941ffd..9ebd9db2576b 100644 --- a/src/content/configuration/stats.md +++ b/src/content/configuration/stats.md @@ -694,6 +694,21 @@ module.exports = { }; ``` +### `stats.relatedAssets` + +`boolean = false` + +Add information about assets that are related to other assets (like SourceMaps for assets). + +```javascript +module.exports = { + //... + stats: { + relatedAssets: true + } +}; +``` + ### `stats.source` `boolean = false` From c07417dd1e39c9a8f5672d5e5749962895de670c Mon Sep 17 00:00:00 2001 From: Anshuman Verma Date: Wed, 5 Aug 2020 18:25:23 +0530 Subject: [PATCH 2/2] Update src/content/configuration/stats.md Co-authored-by: Sam Chen --- 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 9ebd9db2576b..00911b881ced 100644 --- a/src/content/configuration/stats.md +++ b/src/content/configuration/stats.md @@ -698,7 +698,7 @@ module.exports = { `boolean = false` -Add information about assets that are related to other assets (like SourceMaps for assets). +Tells `stats` whether to add information about assets that are related to other assets (like SourceMaps for assets). ```javascript module.exports = {