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

test(start-plugin-core): each route's SSR page links only its own assets

Production builds (Vite, Rsbuild; with and without "sideEffects": false)
of an app whose route exports components other routes, a lazy module and
the root import through the route file, a route with a module two split
options share, and a route whose two Hydrate boundaries share a helper.
Each page must link the code and CSS its route renders and nothing only
another route or a lazy boundary needs (SPEC J2.22, J5.6, J5.7).

Fails at 3f1e9b0178: /exported links the chunks of `/`, `/third` and the
lazy widget that hold its extracted exports (Vite; Rsbuild with
"sideEffects": false), and /hyd preloads its boundaries' code (every host).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-07 23:16:33 +01:00
commit 29609c599e
No known key found for this signature in database
4 changed files with 346 additions and 1 deletions