Adjust tsconfig for ES2022 and JSX.
This commit is contained in:
parent
adef8fc894
commit
18e0e06edb
|
@ -1,20 +1,21 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
|
"jsx": "react-jsx",
|
||||||
|
"jsxImportSource": "preact",
|
||||||
"lib": [
|
"lib": [
|
||||||
"ESNext"
|
"DOM",
|
||||||
|
"ES2022"
|
||||||
],
|
],
|
||||||
"module": "ESNext",
|
"module": "ES2022",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "Node",
|
||||||
"noEmit": true,
|
|
||||||
"outDir": "build",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"target": "ESNext"
|
"target": "ES2022"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"source/**/*.ts",
|
"*.ts",
|
||||||
"tests/**/*.ts",
|
"source",
|
||||||
|
"tests",
|
||||||
"vite.config.ts"
|
"vite.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue