Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use Rolldown for builds#4998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
L-Mario564 wants to merge29 commits intodrizzle-team:alternation-engine
base:alternation-engine
Choose a base branch
Loading
fromL-Mario564:rolldown

Conversation

@L-Mario564
Copy link
Collaborator

@L-Mario564L-Mario564 commentedOct 27, 2025
edited
Loading

This PR aims to migrate from using tsup and Rollup to using Rolldown.

  • All packages are now built using Rolldown and for any additional build steps they have in common, those functions are present in the top-levelbuild folder.
  • Replacerecast withoxc-parser andmagic-string while also parallelizing the task to fix CJS imports. This leads to some performance gains, around 1-2 seconds faster for smaller packages or up to 2x-3x faster for larger packages likedrizzle-orm.
  • Use Bun instead ofzx,cpy andtsx.
  • Thedist output for the validator packages and drizzle-seed are practically identical due to the Rolldown API being highly compatible with Rollup.
  • drizzle-orm'sdist output is different from the one produced by tsup. It should work for both CJS and ESM. If any entrypoints are missing they can be added in therolldown.config.ts file.
  • drizzle-kit'sdist output is also different. The dev build script was already erroring when I began working on this migration so I tried my best to migrate that. The regular build, CLI build and external build should work as expected.
  • Fixed some minor issues related to stripping internal exports.

L-Mario564and others added29 commitsOctober 21, 2025 09:59
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@L-Mario564@OleksiiKH0240@AlexBlokh

[8]ページ先頭

©2009-2025 Movatter.jp