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:
parent
59bebd611e
commit
70cf9bc578
4 changed files with 193 additions and 159 deletions
Loading…
Add table
Add a link
Reference in a new issue