Skip to content

chore: migrate from esbuild to rolldown#15432

Merged
teemingc merged 8 commits intoversion-3from
chore-adapter-rolldown
Feb 26, 2026
Merged

chore: migrate from esbuild to rolldown#15432
teemingc merged 8 commits intoversion-3from
chore-adapter-rolldown

Conversation

@teemingc
Copy link
Member

@teemingc teemingc commented Feb 26, 2026

closes #15424
closes #13609

This PR switches the Vercel and Netlify adapters to use rolldown instead of esbuild
It also updates the build targets from es2020 to es2022 to support top-level await

I also made the Vercel adapter run the test app build after the unit tests just because it's a quick and cheap way to verify the build runs if we don't run platform tests.


Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@teemingc teemingc requested a review from benmccann February 26, 2026 13:42
@teemingc teemingc added pkg:adapter-vercel Pertaining to the Vercel adapter pkg:adapter-netlify labels Feb 26, 2026
@changeset-bot
Copy link

changeset-bot bot commented Feb 26, 2026

🦋 Changeset detected

Latest commit: d0f0109

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@sveltejs/adapter-netlify Major
@sveltejs/adapter-vercel Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot
Copy link

@teemingc teemingc added the needs-platform-tests This PR needs to run platform tests in order to merge. label Feb 26, 2026
Copy link
Member

@benmccann benmccann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great!

@elliott-with-the-longest-name-on-github elliott-with-the-longest-name-on-github added needs-platform-tests This PR needs to run platform tests in order to merge. and removed needs-platform-tests This PR needs to run platform tests in order to merge. labels Feb 26, 2026
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
@teemingc teemingc merged commit c4e70eb into version-3 Feb 26, 2026
19 of 20 checks passed
@teemingc teemingc deleted the chore-adapter-rolldown branch February 26, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-platform-tests This PR needs to run platform tests in order to merge. pkg:adapter-netlify pkg:adapter-vercel Pertaining to the Vercel adapter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate adapters from esbuild to rolldown update build targets used in adapters to allow top-level await

3 participants