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

feature: modernize output, reducing bundle size #2287

Closed
wants to merge 1 commit into from

Conversation

SimonSiefke
Copy link

This changes the typescript output target from ES2020 to ES2022. Trying it out locally, the modern code is still compatible with node 14, 16, 18 and 20.

Fixes #2286

Checklist

  • I have read the documentation.
  • I have included a pull request description of my changes.
  • I have included some tests.
  • If it's a new feature, I have included documentation updates in both the README and the types.

@sindresorhus
Copy link
Owner

Thanks, but es2021 is the correct choice. It will be available in the next release.

sindresorhus added a commit that referenced this pull request Jul 30, 2023
Closes #2287
Closes #2286
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.

more modern output, reducing size
2 participants