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:
parent
7cb045280c
commit
6ad10ee66e
2 changed files with 15 additions and 24 deletions
Loading…
Add table
Add a link
Reference in a new issue