diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index fd34ca69..dbe12459 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -6,13 +6,13 @@ "strict": true, "noEmit": true, "esModuleInterop": true, - "module": "CommonJS", - "moduleResolution": "Node", + "module": "esnext", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true, - "types": ["node", "next", "next/types/global"], + "types": ["next", "node"], "plugins": [ { "name": "next" @@ -22,6 +22,12 @@ "@/*": ["./src/*"] } }, - "include": ["**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next-auth.d.ts"], + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + "next-auth.d.ts" + ], "exclude": ["node_modules"] }