Skip to content

[Docs] Drop the shared runtime chunk roadmap item#14

Merged
Kocal merged 1 commit into
symfony:mainfrom
Kocal:docs/drop-runtime-chunk-roadmap
Jul 11, 2026
Merged

[Docs] Drop the shared runtime chunk roadmap item#14
Kocal merged 1 commit into
symfony:mainfrom
Kocal:docs/drop-runtime-chunk-roadmap

Conversation

@Kocal

@Kocal Kocal commented Jul 11, 2026

Copy link
Copy Markdown
Member
Q A
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #...
License MIT

A single shared runtime chunk is a webpack/Rspack concept: Rollup emits native
ES modules with no bootstrap runtime, so there is nothing to share on the Vite
side. Forcing Rspack's runtimeChunk: 'single' would make the two bundlers
behave differently for no cross-bundler benefit -- and neither default fully
deduplicates shared code across entries anyway (Rspack embeds the runtime per
entry, Rollup inlines small shared modules). Both bundlers handle multi-entry
builds through their own code-splitting, so Reprise adds nothing here.

Remove the item from the README/doc/AGENTS roadmap lists and delete the stale
singleRuntimeChunk option stub.

A single shared runtime chunk is a webpack/Rspack concept: Rollup emits native
ES modules with no bootstrap runtime, so there is nothing to share on the Vite
side. Forcing Rspack's `runtimeChunk: 'single'` would make the two bundlers
behave differently for no cross-bundler benefit -- and neither default fully
deduplicates shared code across entries anyway (Rspack embeds the runtime per
entry, Rollup inlines small shared modules). Both bundlers handle multi-entry
builds through their own code-splitting, so Reprise adds nothing here.

Remove the item from the README/doc/AGENTS roadmap lists and delete the stale
`singleRuntimeChunk` option stub.
@Kocal Kocal self-assigned this Jul 11, 2026
@Kocal Kocal merged commit 436561e into symfony:main Jul 11, 2026
20 checks passed
@Kocal Kocal deleted the docs/drop-runtime-chunk-roadmap branch July 11, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant