Reproduction link or steps
- Install
tsdown with latest rolldown beta
- Run
npx tsdown
What is expected?
npx tsdown should complete without warnings.
What is actually happening?
Running npx tsdown produces warnings about define and inject options in the rolldown config.
% npx tsdown
ℹ tsdown v0.15.8 powered by rolldown v1.0.0-beta.44
ℹ Using tsdown config: /Users/inglec/Documents/repos/event-viewer/packages/eslint-config/tsdown.config.ts
ℹ entry: src/index.ts
ℹ target: node22
ℹ tsconfig: tsconfig-build.json
ℹ Build start
⚠ Deprecation Warning: The top-level "define" option is deprecated. Use "transform.define" instead.
⚠ Deprecation Warning: The top-level "inject" option is deprecated. Use "transform.inject" instead.
ℹ dist/index.js 24.06 kB │ gzip: 6.15 kB
ℹ dist/index.js.map 42.63 kB │ gzip: 9.85 kB
ℹ dist/index.d.ts.map 1.25 kB │ gzip: 0.60 kB
ℹ dist/index.d.ts 5.71 kB │ gzip: 1.83 kB
ℹ 4 files, total: 73.64 kB
✔ Build complete in 697ms
These "Deprecation Warnings" cause our tooling to fail.
Any additional comments?
Maybe tsdown should be pinned to a specific rolldown version range instead of latest to avoid these sorts of upstream breakages.
Reproduction link or steps
tsdownwith latest rolldown betanpx tsdownWhat is expected?
npx tsdownshould complete without warnings.What is actually happening?
Running
npx tsdownproduces warnings aboutdefineandinjectoptions in the rolldown config.These "Deprecation Warnings" cause our tooling to fail.
Any additional comments?
Maybe tsdown should be pinned to a specific rolldown version range instead of
latestto avoid these sorts of upstream breakages.