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

Babel preset for modern JS engines like V8 #2054

Closed
tido64 opened this issue Nov 30, 2022 · 1 comment
Closed

Babel preset for modern JS engines like V8 #2054

tido64 opened this issue Nov 30, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request feature: metro This is related to Metro needs triage 🔍

Comments

@tido64
Copy link
Member

tido64 commented Nov 30, 2022

For React Native apps that use a modern JS engine (such as V8), we can drop a number of Babel plugins from the Metro preset and reduce the amount of polyfills needed to lower to ES5.

@tido64 tido64 added enhancement New feature or request feature: metro This is related to Metro labels Nov 30, 2022
@ghost ghost added the needs triage 🔍 label Nov 30, 2022
@afoxman
Copy link
Contributor

afoxman commented Dec 1, 2022

How do you "target" a particular VM? Do you have one bundle built for V8 and another downlevel bundle for all other engines? This will need runtime/hosting support and make distribution a bit more complex, as the host will now need to request an engine-specific bundle.

@kelset kelset assigned kelset and tido64 and unassigned kelset Aug 7, 2023
@tido64 tido64 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: metro This is related to Metro needs triage 🔍
Projects
Status: Done
Development

No branches or pull requests

3 participants