Skip to content

Conversation

@sxzz
Copy link
Member

@sxzz sxzz commented Jan 20, 2024

Prevent to use of APIs that were introduced after ES2015, like #10153


Note

Due to the introduction of @types/node in some dependencies (vitest, jszip), the API <= ES2020 can still be used, but the use of APIs above ES2020 is limited.

@github-actions
Copy link

github-actions bot commented Jan 20, 2024

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 90.4 kB 34.4 kB 31 kB
vue.global.prod.js 148 kB 53.7 kB 48 kB

Usages

Name Size Gzip Brotli
createApp 50.6 kB 19.7 kB 18 kB
createSSRApp 53.9 kB 21.1 kB 19.2 kB
defineCustomElement 52.8 kB 20.5 kB 18.7 kB
overall 64.3 kB 24.8 kB 22.5 kB

@sxzz sxzz requested a review from yyx990803 January 27, 2024 12:23
@sxzz sxzz changed the title chore: limit typescript lib to es2015 chore: limit typescript lib to es2016 Feb 11, 2024
@sxzz
Copy link
Member Author

sxzz commented Feb 11, 2024

Wait PR vuejs/consolidate.js#1

@sxzz sxzz marked this pull request as draft February 11, 2024 12:49
@sxzz sxzz marked this pull request as ready for review February 14, 2024 07:13
@sxzz sxzz requested a review from haoqunjiang February 14, 2024 07:16
@haoqunjiang haoqunjiang added the ready to merge The PR is ready to be merged. label Feb 14, 2024
@yyx990803 yyx990803 merged commit a24809f into main Feb 26, 2024
@yyx990803 yyx990803 deleted the tsconfig-lib branch February 26, 2024 01:37
OnlyWick pushed a commit to OnlyWick/core that referenced this pull request Feb 27, 2024
* chore: limit typescript lib to es2015

* chore: set target to es2015

* chore: update
lynxlangya pushed a commit to lynxlangya/core that referenced this pull request May 30, 2024
* chore: limit typescript lib to es2015

* chore: set target to es2015

* chore: update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge The PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants