Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(configuration): add stats.errorsSpace and stats.warningsSpace #6793

Merged
merged 1 commit into from
Apr 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/content/configuration/stats.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,23 @@ module.exports = {
};
```

### stats.errorsSpace

<Badge text="5.80.0+" />

`number`

Tells `stats` to limit the number of lines to allocate for displaying an error.

```javascript
module.exports = {
//...
stats: {
errorsSpace: 5,
},
};
```

### stats.excludeAssets

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

### stats.warningsSpace

<Badge text="5.80.0+" />

`number`

Tells `stats` to limit the number of lines to allocate for displaying a warning.

```javascript
module.exports = {
//...
stats: {
warningsSpace: 5,
},
};
```

### stats.warningsFilter

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