Skip to content

Rolldown v1.0.0-beta.44 deprecation warnings #551

Closed

Description

@inglec-arista

Reproduction link or steps

  1. Install tsdown with latest rolldown beta
  2. 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.

Activity

  1. ocavue commented on Oct 20, 2025

    @ocavue
    Collaborator

    Maybe tsdown should be pinned to a specific rolldown version range instead of latest to avoid these sorts of upstream breakages.

    tsdown depends on rolldown@latest because of an version issue on the rolldown side
    #500 (comment)

  2. inglec-arista commented on Oct 20, 2025

    @inglec-arista
    Author

    Thanks for the quick fix and response!

  3. locked and limited conversation to collaborators on Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions