Skip to content

Commit c96a077

Browse files
committed
docs(configuration): add stats.errorCause
1 parent 91b8ace commit c96a077

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/content/configuration/stats.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,21 @@ module.exports = {
444444
};
445445
```
446446

447+
### stats.errorCause
448+
449+
`boolean` `"auto"`
450+
451+
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`.
452+
453+
```javascript
454+
module.exports = {
455+
//...
456+
stats: {
457+
errorCause: true,
458+
},
459+
};
460+
```
461+
447462
### stats.errorDetails
448463

449464
`boolean` `"auto"`

0 commit comments

Comments
 (0)