Update the tsconfig to handle JSX.
This commit is contained in:
parent
6ce78c9a0d
commit
0088295288
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue