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 build target from ES2016 to ES2021 #2489

Merged
merged 1 commit into from
Mar 5, 2023
Merged

Upgrade build target from ES2016 to ES2021 #2489

merged 1 commit into from
Mar 5, 2023

Conversation

johnsoncodehk
Copy link
Member

Our current build target is ES2016, but the core has been relying on the WeakRef feature of ES2021, so the code actually cannot run on runtimes that do not support ES2021.

After this PR, vue-tsc, @volar/vue-language-server will explicitly only support runtimes of node 16 or above.

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.

1 participant