Fix seed.ts import and exclude prisma dir from Next.js tsc
- seed.ts: use ../src/generated/prisma/client (Prisma 7 entry point) - tsconfig.json: exclude prisma/ so seed.ts is not type-checked by Next.js build Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -30,5 +30,5 @@
|
||||
".next/dev/types/**/*.ts",
|
||||
"**/*.mts"
|
||||
],
|
||||
"exclude": ["node_modules"]
|
||||
"exclude": ["node_modules", "prisma"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user