0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/e2e/react-start/css-modules/package.json
Sheraff e298c9b744
test(router-plugin): implementation-agnostic code-splitting tests and the compiler test harness
Adds `@tanstack/compiler-test-utils`, the harness of #8817's compiler test
suite: real Vite, Rsbuild, Rspack and webpack builds and dev servers, route
apps in pages of a real Chromium, and one merged diagnostic channel. Only the
parts the route code splitting tests use come along.

Adds #8817's route code splitting tests that pass on main's compilers: whole
files where every test passes, and the passing describe groups and table
rows of mixed files. Its one pin that main passes (Rolldown, a `var`
declared again in a head or a pattern) lands as an ordinary test. The slow
tier runs as router-plugin `test:integration`.

Deletes main's Babel-specific splitting tests the new ones replace: the
code-splitter snapshot matrix (except the four fixtures that cover shapes
the new tests do not reach yet), shared-bindings-helpers, utils,
delete-nodes, the old regression suites, production-warnings and
source-maps. Main's route HMR tests stay, in their own `unit-babel`
project, until the route HMR slice replaces them.

Takes #8817's sass bump of the css-modules e2e apps, so that the harness and
the plugins load one copy of vite and vitest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:12:33 +01:00

76 lines
3.2 KiB