mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-09-21 13:31:42 +00:00
fix: use relative imports for generated Prisma client
Turbopack cannot resolve @/generated/prisma path alias during next build, even with the files committed and baseUrl set. Switch to relative imports (../generated/prisma) which Turbopack resolves without issues. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
23e233fe02
commit
8436a0e875
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { PrismaClient } from "@/generated/prisma";
|
||||
import { PrismaClient } from "../generated/prisma";
|
||||
import { PrismaPg } from "@prisma/adapter-pg";
|
||||
import pg from "pg";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user