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": { "compilerOptions": {
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react-jsx",
"jsxImportSource": "preact",
"lib": [ "lib": [
"ES2020" "DOM",
"ES2022"
], ],
"module": "esnext", "module": "ES2022",
"moduleResolution": "node", "moduleResolution": "Node",
"noEmit": true, "resolveJsonModule": true,
"outDir": "build/",
"strict": true, "strict": true,
"target": "esnext" "target": "ES2022"
}, },
"include": [ "include": [
"source/**/*.ts", "source"
"vite.config.ts"
],
"exclude": [
"node_modules/"
] ]
} }