mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-utils): a created file invalidates the resolutions it may take; restored plans
`invalidate()` on an add also re-asks the resolutions the new file may take (a file of the same name with another extension, or of a directory a resolution went into, or a package.json there). `restorePlans()` checks plans a host persisted with modules a bundler's persistent cache restored (`CompileOutput.persisted`): current ones join the environment's plans as restored plans (never a hit; `invalidate()` reports them; a compile replaces them), stale ones are returned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d6b7aea973
commit
b5cb576b6f
7 changed files with 229 additions and 16 deletions
Loading…
Add table
Add a link
Reference in a new issue