Reproduction link or steps
- Download REPL on Windows
- Run
pnpm i
- Run
pnpm build
What is expected?
<DIR>/bin/index.js is output.
What is actually happening?
<DIR>/src/bin/index.js is output.
System Info
System:
OS: Windows 11 10.0.26200
CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor
Memory: 7.25 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.4 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\pnpm.CMD
bun: 1.3.13 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\bun.EXE
Deno: 2.7.12 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\deno.EXE
Browsers:
Chrome: 148.0.7778.179
Edge: Chromium (148.0.3967.83)
Firefox: 150.0 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.26100.8115
npmPackages:
rolldown: latest => 1.0.2
Any additional comments?
Originally reported at vitejs/vite#22534
Reproduction link or steps
pnpm ipnpm buildWhat is expected?
<DIR>/bin/index.jsis output.What is actually happening?
<DIR>/src/bin/index.jsis output.System Info
System: OS: Windows 11 10.0.26200 CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor Memory: 7.25 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.4 - C:\Users\green\.vite-plus\js_runtime\node\24.14.1\pnpm.CMD bun: 1.3.13 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\bun.EXE Deno: 2.7.12 - C:\Users\green\AppData\Local\Microsoft\WinGet\Links\deno.EXE Browsers: Chrome: 148.0.7778.179 Edge: Chromium (148.0.3967.83) Firefox: 150.0 - C:\Program Files\Mozilla Firefox\firefox.exe Internet Explorer: 11.0.26100.8115 npmPackages: rolldown: latest => 1.0.2Any additional comments?
Originally reported at vitejs/vite#22534