Build tools update - #9062
Merged
Merged
Conversation
Contributor
|
lgtm |
davepagurek
approved these changes
Aug 9, 2026
davepagurek
left a comment
Contributor
There was a problem hiding this comment.
lgtm, thanks for making these updates!
ksen0
approved these changes
Aug 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #9020
Changes:
This is a simplified version of #9020 with just the build tools update. Users of the library should not see any meaningful difference as this is a dev focused change. People working on the library itself should also not see any workflow changes other than speed ups and more consistent tests.
Details
Rollup > Rolldown
The main build tool is changed to Rolldown. Rolldown is made to be largely backwards compatible with Rollup with main improvements in build speed and less need for plugins. The result on our repo is as follow
Rollup
Rolldown
This represents a 19x speed up in build. This is also present with
npm run dev:globalpreview script, making it viable for very quick iteration on global mode code in development.Webdriverio > Playwright
To improve test stability, the browser test runner is switched from webdriverio to playwright which should see less flaky test overall. Playwright also enables us to install a for test chromium browser on
npm installso the user don't need to have chrome installed on their system to run the test, same applies to CI environment.ESLint > Oxlint/Oxfmt
Linting and formatting is migrated to oxlint and oxfmt for faster speed. Previously ESLint was doing double duty of linting and formatting, including style rules, oxlint and oxfmt split lint rules and style rules up between them. Speed difference between the two is as follow (only comparing linting)
ESLint
Oxlint
This represents a 34x speed up. There are room to include editor configuration in the future so that the right extensions will be installed by code editors and run on save, this is not included in this PR and is for future work.
PR Checklist
npm run lintpasses