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

Upgrade TypeScript target to ES2019 #67

Merged
merged 1 commit into from
Nov 28, 2022
Merged

Upgrade TypeScript target to ES2019 #67

merged 1 commit into from
Nov 28, 2022

Conversation

andrewiggins
Copy link
Member

Vite's min Node version is 14 so we can ship higher level JS then TypeScript's default. I believe ES2019 is a safe version to use. I didn't thoroughly check if we could go higher.

Doing this means we no longer down compile async/await to TS's manual state machine and instead ship native async/await.

@andrewiggins andrewiggins merged commit 7be9be9 into main Nov 28, 2022
@andrewiggins andrewiggins deleted the tsconfig-target branch November 28, 2022 18:42
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