2024-02-27 14:03:15 +00:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2024-05-31 07:44:14 +00:00
|
|
|
"target": "ES2022", // Updated to ES2022 for better top-level await support
|
2024-02-27 14:03:15 +00:00
|
|
|
"useDefineForClassFields": true,
|
2024-05-31 07:44:14 +00:00
|
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"], // Updated to ES2022
|
2024-02-27 14:03:15 +00:00
|
|
|
"module": "ESNext",
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
|
|
|
/* Bundler mode */
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"noEmit": true,
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
"strict": true,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
|
|
|
"plugins": [{ "name": "ts-css-modules-vite-plugin" }]
|
|
|
|
},
|
|
|
|
"include": ["src"],
|
|
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
|
|
}
|