Skip to content

perf: remove browserslist-to-es-version dependency#3585

Merged
chenjiahan merged 2 commits intomainfrom
remove_browserslist-to-es-version_0927
Sep 28, 2024
Merged

perf: remove browserslist-to-es-version dependency#3585
chenjiahan merged 2 commits intomainfrom
remove_browserslist-to-es-version_0927

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

The PR removes browserslist-to-es-version dependency and uses Rspack's browserslist:* target value instead. This will improve performance in two ways:

  • @rsbuild/core depends on fewer packages.
  • Rspack can use the Rust version of browserslist to parse browserslist query in the future, which is faster than the JS version.

TODO: Rspack should support browserslist: for webworker target.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Sep 27, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 2a233b5
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/66f6bf3d1a0f7f0008f01e53
😎 Deploy Preview https://deploy-preview-3585--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 71 (🟢 up 10 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

@chenjiahan chenjiahan merged commit 13a0b50 into main Sep 28, 2024
@chenjiahan chenjiahan deleted the remove_browserslist-to-es-version_0927 branch September 28, 2024 05:09
@chenjiahan chenjiahan mentioned this pull request Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant