Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3a0ddf6

Browse files
docs(Configuration): add stats.errorsSpace and stats.warningsSpace (#6793)
1 parent 2931433 commit 3a0ddf6

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

‎src/content/configuration/stats.mdx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,23 @@ module.exports = {
701701
};
702702
```
703703

704+
### stats.errorsSpace
705+
706+
<Badge text="5.80.0+" />
707+
708+
`number`
709+
710+
Tells `stats` to limit the number of lines to allocate for displaying an error.
711+
712+
```javascript
713+
module.exports = {
714+
//...
715+
stats: {
716+
errorsSpace: 5,
717+
},
718+
};
719+
```
720+
704721
### stats.excludeAssets
705722

706723
`array = []: string | RegExp | function (assetName) => boolean` `string` `RegExp` `function (assetName) => boolean`
@@ -1173,6 +1190,23 @@ module.exports = {
11731190
};
11741191
```
11751192

1193+
### stats.warningsSpace
1194+
1195+
<Badge text="5.80.0+" />
1196+
1197+
`number`
1198+
1199+
Tells `stats` to limit the number of lines to allocate for displaying a warning.
1200+
1201+
```javascript
1202+
module.exports = {
1203+
//...
1204+
stats: {
1205+
warningsSpace: 5,
1206+
},
1207+
};
1208+
```
1209+
11761210
### stats.warningsFilter
11771211

11781212
`array = []: string | RegExp | function (warning) => boolean` `string` `RegExp` `function (warning) => boolean`

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /