Adjust tsconfig for ES2022 and JSX.
This commit is contained in:
parent
adef8fc894
commit
18e0e06edb
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue