mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(start-plugin-core): assert on Vite that a server-only fn is callable from SSR code
F-I stopped running the SSR-code half of the D6 control on Vite, because whether the server fn is in the resolver there depends on the #7213 race. After that change, no acceptance row caught a Vite compiler whose resolver drops every server fn the client build did not find. A server fn that the app's server entry defines is found when the SSR build compiles that entry, before the build reaches any module the entry imports (the resolver among them). So this control's order is fixed on both bundlers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
dad235a21c
commit
d07614d3b3
2 changed files with 39 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue