mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(start-plugin-core): client-only imports never reach the server
A browser-only package (it reads window when it loads) that only a createClientOnlyFn body and an isomorphic .client() read, through a diamond and a cycle of helpers, never loads on the server: in dev (the SSR environment) and in Vite and Rsbuild builds, where the server build must neither bundle it nor warn about its importer, and SSR runs. A new S2 pin covers the server twin of the class rows: a class only a client-only fn uses keeps its client-only import on the server today. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ad7a912b7f
commit
9af54a337f
4 changed files with 100 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue