mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
feat(router-plugin): not-split by placement, deleteNodes refusal, object loaders by reference, symlinked routes, eager-export warning
- Identifier option values are symbol roots of their chunk; the core's
`env-declared` and `shared-writer` fallbacks (reported at the declaration
of the binding) keep the option in place with a `not-split` warning.
- With `deleteNodes`, opaque, spread or computed route options are an error
naming the file (never shipped silently; J2.8/J2.14). Errors bypass the
once-per-file warning ledger.
- `loader: handlers` naming a module const `{ handler }` splits like the
inline object form (the chunk exports the handler).
- The session resolves a registry miss through the real paths of the
registry's files (symlinked route files, DESIGN §3.5.1).
- The Vite and Rspack/webpack hosts warn once per (route file, export) when an
extracted-export output lands in an initial chunk (an entry module imports
it through the route file): the page code is eager whatever the splitter did.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
92114d1fd0
commit
3e44d52603
6 changed files with 229 additions and 17 deletions
Loading…
Add table
Add a link
Reference in a new issue