0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

fix(start-plugin-core): Rsbuild manifests list only a route's own chunks (#8876)

A chunk counted as a static dependency of a shared chunk when any one of
the shared chunk's groups had it. When two routes share a module in a
chunk of its own and a module that module imports is duplicated into each
route's chunk, the shared chunk depended on both route chunks, so each
route's manifest entry preloaded the other route's chunk and linked its
stylesheet. A chunk now counts as available only when every group of the
shared chunk (or one of its ancestors) has it.

Taken from #8817.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Flo 2026-11-08 11:42:43 +01:00 • committed by GitHub
commit c156097786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 100 additions and 7 deletions