Skip to content

Commit

Permalink
fix(create-vite): use "target": "ES2020" in React template (#13147)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen committed May 11, 2023
1 parent eeb0617 commit 23096b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/create-vite/template-react-ts/tsconfig.json
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"target": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

Expand Down

0 comments on commit 23096b1

Please sign in to comment.