Reproduction link or steps
https://repl.rolldown.rs/#eNptjs0OgjAQhF9lsxcgwYqeDAafpJcKC6mB1rRVMU3f3VbjTwyXTXZmdr712GPtUaqOZjadbFoU1j9CiW3caT5r46DVyjrotYYGhL2rFvICmgOIm5AO5JRCOUe27sRgKN1zLPZcxRbC2pkLhRI/3hv2FRZghuIr5o/nueEKngk9Ehv1kGevYFYkK6SBIcKusW/DKlatjuQE2+4wPADBdE5n
What is expected?
Returned value from foo() to be Object.freeze({ __proto__: null, render: async () => { console.log('render') } })
What is actually happening?
Returned value from foo() is Object.freeze({ __proto__: null }). (does not have render export)
System Info
REPL
happens with 1.0.0-beta.15 (the oldest version that works in REPL) and 1.0.0-beta.28
Any additional comments?
Originally reported at vitejs/rolldown-vite#228