{
  "compilerOptions": {
    "target": "ES2022", // Updated to ES2022 for better top-level await support
    "useDefineForClassFields": true,
    "lib": ["ES2022", "DOM", "DOM.Iterable"], // Updated to ES2022
    "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" }]
}
