0
Fork 0
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:
Sheraff 2026-10-28 23:37:19 +01:00
commit 6aee39014f
No known key found for this signature in database
2 changed files with 40 additions and 0 deletions