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 equals the route-HMR-off control build

Replace the statement-diff evidence (added-code), the dev-global trap and
the dev-API regex of production-bundle.ts with one outcome: the production
client bundle renders the route in a real browser and its chunks equal the
control build's (addHmr: false, NODE_ENV=production), chunk for chunk.
Delete compiler-test-utils' added-code.ts and its controls. global-trap.ts
stays: start-plugin-core's start-host (an acceptance user, with no control
build) still uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-22 17:04:28 +02:00
commit 4ae03d55c3
No known key found for this signature in database
6 changed files with 19 additions and 590 deletions