Skip to content

Commit

Permalink
Turbopack: make client references actual references (#73174)
Browse files Browse the repository at this point in the history
aka "one graph"

- Make client references actual references (non-chunkable, so chunking
ignores them right now. We can change that later and move more chunking
into Turbopack itself as opposed to the manual stuff in `AppEndpoint`)
- `find server actions` now just walks the rsc_entry and discovery
client references itself
- `collecting next/dynamic` still walks the RSC graph which is wrong (as
before). I left this to make this PR a noop that shouldn't change any
behavior. We'll fix this in the coming reimplementation (and add tests
for what is apparently currently not asserted 😐)

**View without whitespace changes**

Closes PACK-3532
  • Loading branch information
mischnic authored Nov 26, 2024
1 parent faa759b commit 6a2d350
Show file tree
Hide file tree
Showing 5 changed files with 280 additions and 283 deletions.
Loading

0 comments on commit 6a2d350

Please sign in to comment.