mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-plugin): compile module roots like root routes
A route module's root is created with `createModuleRoot()({ ... })` from the
module's generated scope. The code splitter's file filter and its root-route
list did not know the factory, so module roots never got an HMR statement, and
Start client builds kept their `ssr`, `server` and `headers` options with their
server-only imports.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
b7489bbff2
commit
a048cf574e
10 changed files with 259 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue