Skip to content

Upgrade build target from ES2016 to ES2021#2489

Merged
johnsoncodehk merged 1 commit intomasterfrom
es2021
Mar 5, 2023
Merged

Upgrade build target from ES2016 to ES2021#2489
johnsoncodehk merged 1 commit intomasterfrom
es2021

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