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: target ES2020 in web extensions #342

Merged
merged 1 commit into from Apr 29, 2022
Merged

fix: target ES2020 in web extensions #342

merged 1 commit into from Apr 29, 2022

Conversation

connor4312
Copy link
Member

ES6 is very old and downlevels async/await into iterators, which runs slowly and makes debugging painful. Targeting ES2020 works for Node 14 and modern browsers are already happy with ES2021 or newer.

ES6 is very old and downlevels async/await into iterators, which runs slowly and makes debugging painful. Targeting ES2020 [works for Node 14](https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping) and modern browsers are already happy with ES2021 or newer.
@connor4312 connor4312 requested a review from aeschli April 21, 2022 16:20
@connor4312 connor4312 self-assigned this Apr 21, 2022
@aeschli aeschli merged commit e6e3320 into main Apr 29, 2022
@aeschli
Copy link
Contributor

aeschli commented Apr 29, 2022

Thanks @connor4312 !

@aeschli aeschli added this to the April 2022 milestone Apr 29, 2022
@connor4312 connor4312 deleted the connor4312-patch-1 branch April 29, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants