Reproduction link or steps
https://github.com/tats-u/tsdown-prop-bug
- Clone
pnpm i
node --run build
- Check the generated files
What is expected?
Only index.{d.ts,js} exist
build:tsup instead of build can get this result
What is actually happening?
Other extra files exist.
They contain abnormally nested references like:
import { __commonJS } from "../../../../../../../../_virtual/rolldown_runtime.js";
Any additional comments?
tsup don't generate such extra files.
Reproduction link or steps
https://github.com/tats-u/tsdown-prop-bug
pnpm inode --run buildWhat is expected?
Only
index.{d.ts,js}existbuild:tsupinstead ofbuildcan get this resultWhat is actually happening?
Other extra files exist.
They contain abnormally nested references like:
Any additional comments?
tsup don't generate such extra files.