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:
parent
df6ac30406
commit
c156097786
3 changed files with 100 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue