{ "compilerOptions": { "target": "ES2020", // more modern async/await support "lib": [ "DOM", "DOM.Iterable", "ESNext" ], // good for both frontend and backend "module": "ESNext", // required for full ESM "moduleResolution": "bundler", // works well with Next.js + ESM "allowJs": true, "resolveJsonModule": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "isolatedModules": true, "noEmit": true, "strict": true, "skipLibCheck": true, "jsx": "preserve", "incremental": true, "forceConsistentCasingInFileNames": true, "types": [ "node" ], "plugins": [ { "name": "next" } ], "paths": { "@/*": [ "./src/*" ] } }, "include": [ "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next-env.d.ts", "server.ts", ".next-dev/types/**/*.ts" ], "exclude": [ "node_modules" ] }