mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-plugin): deleteNodes options take what only they read out of every output
A destructuring leaf only a deleted option (server, ssr, headers) read was pruned in the env module only; when its declaration then moved to a split chunk or an extracted module, that output kept the leaf with its server-only default and import (R84). The deletion is now addressed to every output, so the orphan cleanup removes the leaf wherever the declaration renders. Main kept it in the route's shared chunk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
67dc1090d2
commit
858f5daebd
3 changed files with 33 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue