0
Fork 0
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:
Sheraff 2026-10-22 11:08:00 +02:00
commit d07614d3b3
No known key found for this signature in database
2 changed files with 39 additions and 9 deletions