Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(es/preset-env): Enable "mobile to desktop" #2907

Merged
merged 1 commit into from
Nov 29, 2021
Merged

fix(es/preset-env): Enable "mobile to desktop" #2907

merged 1 commit into from
Nov 29, 2021

Conversation

g-plane
Copy link
Contributor

@g-plane g-plane commented Nov 29, 2021

Introduction

The mobileToDesktop option of Browserslist is enabled in Babel:

https://github.com/babel/babel/blob/cb3ebde8ceed47f4b6783c16137cc9ddc78998b7/packages/babel-helper-compilation-targets/src/index.ts#L159

This PR enables this option to match Babel.

Tests

References of "chromeandroid" tests: (links to Babel REPL)

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

Thanks!

@kdy1 kdy1 merged commit 5a68a36 into swc-project:main Nov 29, 2021
@kdy1 kdy1 added this to the v1.2.114 milestone Nov 29, 2021
@g-plane g-plane deleted the enable-mobile-to-desktop branch November 29, 2021 10:30
kdy1 added a commit that referenced this pull request Nov 29, 2021
dsherret pushed a commit to dsherret/swc that referenced this pull request Nov 30, 2021
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants