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

perf(start-plugin-core): Rsbuild replays restored-module checks in the first compilation only

The `finishMake` passes looking for modules restored from Rspack's
persistent cache (unjudged importers, unconfirmed edge modules) walked
every module of every dev compilation. Rspack loads the cache's module
graph only in a compiler's first compilation: the persistent cache's
`before_build_module_graph` returns for `is_rebuild` compilations, and
every compilation after the first is a rebuild (Rspack 2.0.0 to 2.2.9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-30 01:27:52 +01:00
commit ef1373b3f8
No known key found for this signature in database