mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(compiler-tests): build harness apps with the plugins a real app configures
RULES-AUDIT §3 item 6 (hand-configured stand-ins). - start-plugin-core: the build, Vite dev and Rsbuild dev harnesses create Start's plugin with `tanstackStart()` of the built framework package (`tests/start-plugins.ts`, shared with `start-host.ts`), so react-start's config plugin (dedupe, externals, pre-bundling) and Solid Start's own plugin apply; entries through the documented `client.entry`/`server.entry` only where the app has none; React apps get `@vitejs/plugin-react` / `@rsbuild/plugin-react` unless the test gives it; the harness's own `ssr.noExternal` and start entry are gone. Vue hosts add `@vitejs/plugin-vue-jsx` (new devDependency). `compilerTransforms`, which no public option takes, stays for the one implementation-lane file through `outside-compiler-corpus/core-start-plugin.ts`. - router-plugin: Rsbuild builds use `pluginReact()` instead of a hand SWC config; Vite builds add the framework's Vite plugin (`@vitejs/plugin-react`, `@vitejs/plugin-vue-jsx`), not added again when a test gives it; webpack and Rspack Vue builds compile JSX with Vue's Babel plugin. - react-start-rsc and the spc RSC warning app: `pluginReact()` instead of a hand SWC config. No count or pin changed (beetle, every lane). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
73d818de3f
commit
bee0eadc58
17 changed files with 634 additions and 303 deletions
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
Loading…
Add table
Add a link
Reference in a new issue