{
  "extends": "@tsconfig/strictest/tsconfig.json",
  "compilerOptions": {
    // transpile target
    "target": "ES2020",
    "lib": ["dom", "dom.iterable", "esnext"],
    "noEmit": true,
    // module
    "module": "esnext",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    // build optimization
    "incremental": true,
    // plugins
    "plugins": [
      {
        "name": "next"
      }
    ],
    // paths alias
    "paths": {
      "@/*": ["./src/*"]
    },
    // typecheck
    "types": ["node", "vitest/globals"],
    "exactOptionalPropertyTypes": false,
    "allowJs": true
  },
  "include": [
    "**/*.ts",
    "**/*.tsx",
    ".next/types/**/*.ts",
    "next-env.d.ts",
    "./.next/types/**/*.ts"
  ],
  "exclude": ["node_modules"]
}
