-
Notifications
You must be signed in to change notification settings - Fork 737
[Bug]: (regression) circular import generated when using require and dynamic import #8910
Copy link
Copy link
Closed
Copy link
Description
Reproduction link or steps
https://stackblitz.com/edit/jwjzzvna?file=rolldown.config.js
REPL (same content, not working due to #8888)
What is expected?
When running node dist/entry-1.js, no output is shown.
What is actually happening?
When running node dist/entry-1.js the following error is shown.
TypeError: _entry_1_js.__exportAll is not a function
at eval (file:///home/projects/wvuoppb3--run/dist/node2-CpG0Mwi-.js:19:49)
at ModuleJob.run (node:internal/modules/esm/module_job:170:4963)
System Info
StackBlitz
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 22.22.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@rolldown/browser: 1.0.0-rc.12Any additional comments?
This seemed to be working with rc.11.
Found at sapphi-red/zarara#5 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Fields
Give feedbackPriority
None yet
Effort
None yet