Skip to content

chore: update tsconfig target to es2018 #2616

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

Merged
merged 1 commit into from
Jun 23, 2022
Merged

chore: update tsconfig target to es2018 #2616

merged 1 commit into from
Jun 23, 2022

Conversation

oxy
Copy link
Contributor

@oxy oxy commented Jun 23, 2022

This PR changes the tsconfig target to ES2018, which is supported by all major current browsers. (The only unsupported feature is RegEx lookbehind assertions, which is not polyfilled anyway.)

This stops us from having to transpile lots of promise code for legacy browsers (IE!), which makes the resulting sources in eval-source-map view much easier to read.

Hopefully, all tests pass!

@oxy oxy requested a review from a team as a code owner June 23, 2022 19:39
Copy link
Contributor

@greyscaled greyscaled left a comment

Choose a reason for hiding this comment

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

Last PR review before sabbatical 💖

@oxy oxy merged commit 885e7fd into main Jun 23, 2022
@oxy oxy deleted the oxy/es2018 branch June 23, 2022 19:52
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.

2 participants