mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(compiler): hoisted imports are no effect before or after a cluster
A bare import or a re-export evaluates before the module body wherever it is written: `effectStays` no longer counts one after an effectful cluster a chunk needs (it moved only when nothing followed it) or before an augmented export (it stayed, `eager-split:order` / kept). Two placement tests. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
6e14f8610e
commit
6aee39014f
2 changed files with 40 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue