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

perf(start-plugin-core): import provider modules statically in Rsbuild production manifests

An import() of a route module the router's async chunk also holds made
Rspack copy it and its imports into the resolver's chunk; a shared cache
group traded the copy for one more chunk loaded at cold start. Rsbuild
bundles every provider module, so the production manifest imports them
statically: 6 chunks loaded like main, gzip below main. The cache group
of the server environments is dropped (superseded).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-25 15:37:46 +01:00
commit 6ad10ee66e
No known key found for this signature in database
2 changed files with 15 additions and 24 deletions