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

test(router-plugin): production bundle checks in two files; one pin per NODE_ENV bug

build-production.test.ts took 15.4 s at 1 worker (per-file limit 15 s),
two thirds of it webpack. Its checks move to tests/production-bundle.ts;
build-production.test.ts keeps Vite, Rspack and Rsbuild, and
build-production-webpack.test.ts has webpack. Same tests, same names.

known-bugs-route-hmr-production.test.ts "a production client bundle has
no route HMR code when NODE_ENV is unset (rspack/webpack)" built the same
app as build-production's "rspack/webpack a production react client
bundle without code splitting has no dev-only code" pins (React,
autoCodeSplitting off, addHmr default, NODE_ENV unset), whose hot-API
check includes theirs: deleted, cited from the control they pinned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-19 15:24:25 +02:00
commit 70cf9bc578
No known key found for this signature in database
4 changed files with 193 additions and 159 deletions