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

Compare commits

..

8 commits

Author SHA1 Message Date
Sheraff
96d73b8690
test(router-plugin): real webpack and Rspack production builds ship no splitter warning
Builds an app whose route exports its component, with mode 'production' and with mode left out, and checks that no emitted JS names the app's absolute path. Fails on main. Replaces the fake-compiler matrix in router-plugin-context.test.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 08:22:15 +01:00
Sheraff
15109d41a3
fix(router-plugin): only the bundler's mode keeps the warning out of the page
The code splitter always passes isProduction, so the NODE_ENV fallback in the compiler was reachable only from direct test calls. The changeset now names the bug users see.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 08:22:15 +01:00
Sheraff
ca3b630a61
Merge branch 'main' into fix/router-production-splitter-warning
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 08:17:05 +01:00
Sarah Gerrard
8ddcd833ed Merge branch 'main' into fix/router-production-splitter-warning
# Conflicts:
#	packages/router-plugin/tests/router-plugin-context.test.ts
2026-10-24 14:27:37 -07:00
Sarah Gerrard
64affb84cb Merge branch 'main' into fix/router-production-splitter-warning 2026-09-24 17:55:10 -07:00
Sarah Gerrard
bafe91658d
Merge branch 'main' into fix/router-production-splitter-warning 2026-09-09 19:01:37 -07:00
Sarah Gerrard
6b1507e63f
Merge branch 'main' into fix/router-production-splitter-warning 2026-09-08 16:21:10 -07:00
ladybluenotes
a1014f5015 fix(router-plugin): omit browser warnings from production bundles 2026-09-06 10:42:50 -07:00
273 changed files with 4280 additions and 6114 deletions

Some files were not shown because too many files have changed in this diff Show more