mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
With `log: 'always'`, `onViolation` was asked when a plan was computed, so a compile the plan cache answered did not ask again: a failed importer (`behavior: 'error'`) rebuilt by Rspack or requested again from Vite threw before asking, and Vite asked nothing when it compiled modules again (main asks at every compile). The planner now decides only `log: 'once'` (its session memo); with `'always'`, `ImportProtectionEnv.afterCompile` decides every compile's violations through the same verdict as the edge-module confirmation and the Rspack kept-module replay (`devVerdict`: a veto makes the edge module serve the real module). This removes the Rsbuild loader's cached-compile replay and its per-resource fingerprints. `log: 'once'` and compiles without violations stay synchronous. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| router | ||
| start | ||
| AGENTS.md | ||