0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

fix(start-plugin-core): Rsbuild's SSR layer doesn't provide server functions under RSC

With RSC on Rsbuild the provider role covered both layers of the server
environment, while only the RSC layer lacks the router planner. A server fn nested
in code that moves out of a route module (a split component, a class's extracted
module) left the SSR layer's chunk importing a hoisted binding from the provider
module, which the RSC layer's plan doesn't export: the build failed to link. Main
builds. The SSR layer now compiles as Vite's SSR environment does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-02 11:15:12 +01:00
commit 34d5bc351e
No known key found for this signature in database
3 changed files with 45 additions and 6 deletions