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

Bump es target version to es2021 #205

Merged
merged 2 commits into from
Jun 14, 2023
Merged

Bump es target version to es2021 #205

merged 2 commits into from
Jun 14, 2023

Conversation

oporkka
Copy link
Member

@oporkka oporkka commented Jun 14, 2023

Now that minimum supported Node version is 16, we can target es2021 (ref. https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping)

Note: This PR fails on build for Node 18 and Node 20 because "Support for the experimental syntax 'optionalChaining' isn't currently enabled". The problem will get fixed by bumping jest to the latest version, which in turn includes @babel/plugin-syntax-optional-chaining

@oporkka
Copy link
Member Author

oporkka commented Jun 14, 2023

👍

1 similar comment
@boopathi
Copy link
Member

👍

@boopathi boopathi merged commit 2df0bbf into main Jun 14, 2023
@boopathi boopathi deleted the es2021 branch June 14, 2023 09:35
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