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

test(router-plugin): drop matrix cells the transform decides (speedup 7)

- page-code "a component the route file writes a property of loads with
  its chunk and renders the property": one cell (Vite, no sideEffects
  hint) of eight. The route module reading the undeclared `Page` is the
  transform's output for every bundler and hint (in process: "top-level
  writes to the split component (property assignment) stay with the
  binding they write"); where a fixed route's component lands is the
  bundler's, decided by the controls in every bundler and hint.
- build-harness.test "router plugin with vite/rspack loads a split
  component lazily and renders it (ssr/client)": the same harness call
  and outcome as build-frameworks' "vite/rspack react ssr/client build the
  split component loads lazily and renders". The minified webpack rows
  stay (build-frameworks builds webpack unminified).
- plugin-options "autoCodeSplitting: undefined splits nothing … (rspack,
  webpack)": the default is resolved by the shared config schema after
  the entries, which pass an absent option on as they pass `false`
  (decided by the Vite `undefined` cell and the `false` cells per entry).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-19 15:24:33 +02:00
commit fd4c2c7fdc
No known key found for this signature in database
3 changed files with 71 additions and 46 deletions