From 9ed40ced3e4b0974b559539832b0c9b5299a2442 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Tue, 6 May 2025 17:59:03 +0530 Subject: [PATCH] docs(configuration): add version badge for stats.errorCause & stats.errorErrors --- src/content/configuration/stats.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/content/configuration/stats.mdx b/src/content/configuration/stats.mdx index 75d9e9e40015..64abfe1527f7 100644 --- a/src/content/configuration/stats.mdx +++ b/src/content/configuration/stats.mdx @@ -446,6 +446,8 @@ module.exports = { ### stats.errorCause + + `boolean` `"auto"` Tells `stats` whether to include the [`cause`](https://nodejs.org/en/blog/release/v16.9.0/#error-cause) property of errors in the output. It defaults to `true`. @@ -476,6 +478,8 @@ module.exports = { ### stats.errorErrors + + `boolean` `"auto"` Tells `stats` whether to include the errors array from [`AggregateError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) instances in the output. It defaults to `true`.