Skip to content

Commit d1cbfc3

Browse files
committed
docs(configuration): fix heading levels for performance
1 parent ae815d2 commit d1cbfc3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/configuration/performance.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This feature was inspired by the idea of [webpack Performance Budgets](https://g
1818

1919
Configure how performance hints are shown. For example if you have an asset that is over 250kb, webpack will emit a warning notifying you of this.
2020

21-
## `performance.assetFilter`
21+
### performance.assetFilter
2222

2323
`function(assetFilename) => boolean`
2424

@@ -45,7 +45,7 @@ module.exports = {
4545

4646
The example above will only give you performance hints based on `.js` files.
4747

48-
## `performance.hints`
48+
### performance.hints
4949

5050
`string = 'warning': 'error' | 'warning'` `boolean: false`
5151

@@ -86,7 +86,7 @@ module.exports = {
8686

8787
An error will be displayed notifying you of a large asset. We recommend using `hints: "error"` during production builds to help prevent deploying production bundles that are too large, impacting webpage performance.
8888

89-
## `performance.maxAssetSize`
89+
### performance.maxAssetSize
9090

9191
`number = 250000`
9292

@@ -101,7 +101,7 @@ module.exports = {
101101
};
102102
```
103103

104-
## `performance.maxEntrypointSize`
104+
### performance.maxEntrypointSize
105105

106106
`number = 250000`
107107

0 commit comments

Comments
 (0)