Reproduction link or steps
REPL
What is expected?
Running the bundled code outputs default.
What is actually happening?
Running the bundled code outputs dep_default.
System Info
Any additional comments?
esbuild supports this correctly (esbuild try).
The same issue exists with classes (REPL).