Why does compilerOptions.lib
include esnext
?
#9319
Unanswered
hyunbinseo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Vite v4's default build / browser target is as follows.
SvelteKit's generated
./.svelte-kit/tsconfig.json
'scompilerOptions.lib
includesesnext
.Wouldn't it be safer to match tsconfig's
compilerOptions.lib
to Vite'sbuild.target
?(If matched) For example, trying to use ES2021's
Promise.any
would show an error in VS Code.Beta Was this translation helpful? Give feedback.
All reactions