-
Notifications
You must be signed in to change notification settings - Fork 710
Labels
Description
Reproduction link or steps
What is expected?
Bundled file can be run
What is actually happening?
Bundled file is invalid due to invalid hello export in chunked file.
System Info
AnyAny additional comments?
As of the current extensive testing with beta.47, this bug seems to only happen strictly with r.default access dynamic import, it does not happen to top-level import { default as x } and other top-level/dynamic import access pattern like access r directly, or r.hello, etc.
This bug first appeared in beta.44 with the json tree-shake feat.
FYI: Why not just use r without .default, it works normally:
For some runtime, .default is required.
Reactions are currently unavailable