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

feat(start-plugin-core): Start Vite host on the compiler core

One pre plugin per Start env compiling every id through compileModule,
invalidation through the core's one operation on hotUpdate/watchChange,
a shared server-fn registry, dev lookup by id through a per-id virtual
module (compiling the defining module on a fresh server), the production
resolver from the client registry (HTTP-callable set, R44), custom-id
patching at renderChunk, library discovery from the Vite root. RSC
integrations pass rsc: { loadCssExpression, providerDirective }; the
Babel-typed compilerTransforms/StartCompilerPlugin options and
react-start-rsc's rscCssTransform export are removed (the Rsbuild host
keeps the previous compiler internally for now). The router splitter
and the Babel Hydrate transform keep running on this plugin's output in
the interim.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-24 20:33:33 +02:00
commit cfca98d1f5
No known key found for this signature in database
26 changed files with 1075 additions and 1042 deletions