Reproduction link or steps
REPL
What is expected?
No error happens when executing dist/entry-2.js.
What is actually happening?
The following error happens when executing dist/entry-2.js:
TypeError: __exportAll is not a function
at dist/node4-DpoBIw4R.js:3:37
at ModuleJob.run (node:internal/modules/esm/module_job:430:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:661:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)
In other words, the cyclic import "entry-2 -> entry-3 -> node4-hash -> entry-2" is not output.
System Info
System:
OS: Windows 11 10.0.26200
CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor
Memory: 10.68 GB / 31.06 GB
Binaries:
Node: 24.14.1 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\node.EXE
Yarn: 1.22.22 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\yarn.CMD
npm: 11.11.0 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\npm.CMD
pnpm: 10.33.0 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\pnpm.CMD
bun: 1.3.11 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\bun.EXE
Deno: 2.7.8 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\deno.EXE
Browsers:
Chrome: 146.0.7680.177
Edge: Chromium (146.0.3856.84)
Firefox: 148.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.26100.7309
npmPackages:
rolldown: 1.0.0-rc.13 => 1.0.0-rc.13
Any additional comments?
This seemed to be working with rc.4.
Found at sapphi-red/zarara#5 (comment)
Reproduction link or steps
REPL
What is expected?
No error happens when executing
dist/entry-2.js.What is actually happening?
The following error happens when executing
dist/entry-2.js:In other words, the cyclic import "entry-2 -> entry-3 -> node4-hash -> entry-2" is not output.
System Info
System: OS: Windows 11 10.0.26200 CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor Memory: 10.68 GB / 31.06 GB Binaries: Node: 24.14.1 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\node.EXE Yarn: 1.22.22 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\yarn.CMD npm: 11.11.0 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\npm.CMD pnpm: 10.33.0 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\pnpm.CMD bun: 1.3.11 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\bun.EXE Deno: 2.7.8 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\deno.EXE Browsers: Chrome: 146.0.7680.177 Edge: Chromium (146.0.3856.84) Firefox: 148.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe Internet Explorer: 11.0.26100.7309 npmPackages: rolldown: 1.0.0-rc.13 => 1.0.0-rc.13Any additional comments?
This seemed to be working with rc.4.
Found at sapphi-red/zarara#5 (comment)