Adjust tsconfig for ES2022 and JSX.

This commit is contained in:
Bauke 2023-04-07 12:37:37 +02:00
parent adef8fc894
commit 18e0e06edb
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 9 additions and 8 deletions

View File

@ -1,20 +1,21 @@
{
"compilerOptions": {
"esModuleInterop": true,
"jsx": "react-jsx",
"jsxImportSource": "preact",
"lib": [
"ESNext"
"DOM",
"ES2022"
],
"module": "ESNext",
"module": "ES2022",
"moduleResolution": "Node",
"noEmit": true,
"outDir": "build",
"skipLibCheck": true,
"strict": true,
"target": "ESNext"
"target": "ES2022"
},
"include": [
"source/**/*.ts",
"tests/**/*.ts",
"*.ts",
"source",
"tests",
"vite.config.ts"
]
}