Skip to content

fix: update rolldown and migrate from the deprecated API#552

Merged
ocavue merged 1 commit intomainfrom
ocavue/transform_define
Oct 20, 2025
Merged

fix: update rolldown and migrate from the deprecated API#552
ocavue merged 1 commit intomainfrom
ocavue/transform_define

Conversation

@ocavue
Copy link
Copy Markdown
Collaborator

@ocavue ocavue commented Oct 20, 2025

Description

The latest rolldown has deprecated some APIs:

https://github.com/rolldown/rolldown/releases/tag/v1.0.0-beta.44

  • Deprecated some top-level options
    • definetransform.define
    • injecttransform.inject
    • dropLabelstransform.dropLabels
    • keepNamesoutput.keepNames
    • profilerNamesoutput.generatedCode.profilerNames

Linked Issues

Closes #551

Additional context

@netlify
Copy link
Copy Markdown

netlify bot commented Oct 20, 2025

Deploy Preview for tsdown ready!

Name Link
🔨 Latest commit 1f8aa2e
🔍 Latest deploy log https://app.netlify.com/projects/tsdown/deploys/68f6152390558700088c1ed8
😎 Deploy Preview https://deploy-preview-552--tsdown.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Oct 20, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tsdown@552
npm i https://pkg.pr.new/create-tsdown@552

commit: 1f8aa2e

@ocavue ocavue marked this pull request as ready for review October 20, 2025 10:47
@ocavue ocavue requested a review from sxzz October 20, 2025 10:47
@ocavue ocavue force-pushed the ocavue/transform_define branch from 14c52c7 to 1f8aa2e Compare October 20, 2025 10:55
@ocavue ocavue merged commit 0aedb13 into main Oct 20, 2025
15 checks passed
@ocavue ocavue deleted the ocavue/transform_define branch October 20, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rolldown v1.0.0-beta.44 deprecation warnings

2 participants