Conversation
Member
Author
How to use the Graphite Merge QueueAdd the label graphite: merge-when-ready to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
✅ Deploy Preview for rolldown-rs canceled.
|
77ca16d to
6341d2b
Compare
6341d2b to
77a731d
Compare
25a1f91 to
625e552
Compare
625e552 to
f554244
Compare
77a731d to
033efca
Compare
033efca to
eb0e1fc
Compare
eb0e1fc to
7487a99
Compare
2 tasks
7487a99 to
496f339
Compare
496f339 to
2aac0e7
Compare
2aac0e7 to
e0f9d72
Compare
b4dc062 to
90d94c1
Compare
e0f9d72 to
55ab442
Compare
55ab442 to
c2554f1
Compare
90d94c1 to
27026df
Compare
c2554f1 to
f2c3464
Compare
0b49d58 to
35914c4
Compare
2 tasks
35914c4 to
852f962
Compare
852f962 to
7e39c60
Compare
9308578 to
90e83d2
Compare
7e39c60 to
817d34b
Compare
90e83d2 to
8db1bb3
Compare
817d34b to
11bdba7
Compare
8db1bb3 to
fb0d3b6
Compare
11bdba7 to
731e03d
Compare
731e03d to
872b05f
Compare
872b05f to
db8a48f
Compare
23d68cf to
8627017
Compare
db8a48f to
565a66a
Compare
8627017 to
db46692
Compare
565a66a to
65d51b3
Compare
…oxy to preserve original export names
65d51b3 to
ec35a9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
When a dynamic import target ends up in a
ChunkKind::Commonchunk (shared across multiple entry boundaries), rolldown minifies all its export names. The lazy compilation fetched proxy previously didconst mod = await import(...); return mod, passing the raw chunk namespace to user code — sosel.foobecameundefinedbecause the actual key was a short alias like$.Fix: switch the fetched proxy template to use
__rolldown_runtime__.loadExports()instead of returning the chunk namespace directly. The runtime registry stores exports with their original names, bypassing the mangled chunk-level exports.Test plan
TODO
Blocked by #7974