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

perf(start-plugin-core): count imported modules once in the Rsbuild manifest pass (#8926)

The static-dependency pass behind the Rsbuild Start manifest runs after
every client compilation, dev updates included. It walked every
connection of every module of every chunk and read the imported module's
chunks each time. Count an imported module once per chunk, from its
first active connection, and read a module's chunks once per
compilation (memoized on the resolver created per compilation).

The manifest is unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Flo 2026-11-13 14:28:55 +01:00 • committed by GitHub
commit 0b6d4f3f6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 74 additions and 6 deletions