mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-plugin): chunks export identifier option values directly
`export { Page as component }` instead of `const TsrSplitComponent = Page`
and an aliased export: the alias cost 8 raw bytes per split route in every
production bundle against main (Rolldown keeps `var r=n`). The chunk's own
declaration remains for inline values, methods and `handlers.handler`.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
63ae9674cf
commit
383f1918fb
1 changed files with 21 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue