Skip to content

Commit 04c0df1

Browse files
authored
docs: update splitChunks maxSize/minSize/maxRequest priority (#7123)
1 parent 87859f6 commit 04c0df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/plugins/split-chunks-plugin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ When the chunk has a name already, each part will get a new name derived from th
230230

231231
`maxSize` option is intended to be used with HTTP/2 and long term caching. It increases the request count for better caching. It could also be used to decrease the file size for faster rebuilding.
232232

233-
T> `maxSize` takes higher priority than `maxInitialRequest/maxAsyncRequests`. Actual priority is `maxInitialRequest/maxAsyncRequests < maxSize < minSize`.
233+
T> `maxInitialRequest/maxAsyncRequests` takes higher priority than `maxSize`. Actual priority is `maxSize < maxInitialRequest/maxAsyncRequests < minSize`.
234234

235235
T> Setting the value for `maxSize` sets the value for both `maxAsyncSize` and `maxInitialSize`.
236236

0 commit comments

Comments
 (0)