Skip to content

Commit

Permalink
build: set target to es2022
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Oct 1, 2023
1 parent 96f7e02 commit ba322de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
File renamed without changes.
22 changes: 12 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
{
"compilerOptions": {
"target": "es6",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"allowUnreachableCode": false,
"strict": true,
"esModuleInterop": false,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"isolatedModules": true,
"jsx": "react-jsx",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "ES2022",
"types": ["vite-plugin-pwa/client"]
},
"include": ["src", "env.d.ts", "vite.config.ts"]
"include": ["src", "vite.config.ts"]
}

0 comments on commit ba322de

Please sign in to comment.