1
Fork 0

Update the tsconfig to handle JSX.

This commit is contained in:
Bauke 2023-06-21 20:14:20 +02:00
parent 6ce78c9a0d
commit 0088295288
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 9 additions and 11 deletions

View File

@ -1,21 +1,19 @@
{
"compilerOptions": {
"esModuleInterop": true,
"jsx": "react-jsx",
"jsxImportSource": "preact",
"lib": [
"ES2020"
"DOM",
"ES2022"
],
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"outDir": "build/",
"module": "ES2022",
"moduleResolution": "Node",
"resolveJsonModule": true,
"strict": true,
"target": "esnext"
"target": "ES2022"
},
"include": [
"source/**/*.ts",
"vite.config.ts"
],
"exclude": [
"node_modules/"
"source"
]
}