Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/content/plugins/split-chunks-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ Webpack will automatically split chunks based on these conditions:

When trying to fulfill the last two conditions, bigger chunks are preferred.

T> The default request limits are heuristic guardrails, not HTTP/1-specific
recommendations. Browsers and transports such as HTTP/2 can handle many parallel
requests, but extra chunks still add scheduling, header, cache lookup, parsing,
and evaluation overhead. If your app benefits from more granular chunks, adjust
[`splitChunks.maxAsyncRequests`](#splitchunksmaxasyncrequests) and
[`splitChunks.maxInitialRequests`](#splitchunksmaxinitialrequests), then measure
the result for your users.

## Configuration

Webpack provides a set of options for developers that want more control over this functionality.
Expand Down
Loading