0
Fork 0
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:
Sheraff 2026-10-30 12:15:06 +01:00
commit 858f5daebd
No known key found for this signature in database
3 changed files with 33 additions and 6 deletions