Reproduction link or steps
- Open https://stackblitz.com/edit/github-xv4yss-atzcaf?file=src%2Fentry.js,src%2Fdep.js
npm i runs automatically
npm run build runs automatically
- See
dist/typescript-*.js is output
What is expected?
Only dist/entry.js is output and dist/typescript-*.js is not output.
What is actually happening?
dist/typescript-*.js is output even if it's not used or is an entry point.
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: 18.20.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
rolldown: https://pkg.pr.new/rolldown@829d80a => 0.13.2
Any additional comments?
Found while trying to bundle Vite with Rolldown.
Reproduction link or steps
npm iruns automaticallynpm run buildruns automaticallydist/typescript-*.jsis outputWhat is expected?
Only
dist/entry.jsis output anddist/typescript-*.jsis not output.What is actually happening?
dist/typescript-*.jsis output even if it's not used or is an entry point.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: 18.20.3 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.2.3 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm npmPackages: rolldown: https://pkg.pr.new/rolldown@829d80a => 0.13.2Any additional comments?
Found while trying to bundle Vite with Rolldown.