{
  "compilerOptions": {
    "target": "ES2022", // Modern JS target
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "allowJs": true, // Allow JS files if needed
    "skipLibCheck": true, // Skip type checking of node_modules
    "strict": true, // Enable strict type-checking
    "forceConsistentCasingInFileNames": true,
    "noEmit": false,
    "outDir": "dist", // ✅ Output directory                   // Next.js handles build, no need to emit JS
    "esModuleInterop": true,
    "module": "CommonJS", // ✅ Node.js needs CommonJS
    "moduleResolution": "Node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "react-jsx",
    "incremental": true, // Faster rebuilds
    "paths": {
      "@/*": [
        "./src/*"
      ] // Allows import like "@/components/Navbar"
    },
    "plugins": [
      {
        "name": "next"
      }
    ]
  },
  "include": [
    "next-env.d.ts",
    "**/*.ts",
    "**/*.tsx",
    ".next/types/**/*.ts",
    "server.js",
    ".next/dev/types/**/*.ts"
, "next.config.js"  ],
  "exclude": [
    "node_modules"
  ]
}
