Skip to content

Commit d2fedb0

Browse files
authored
fix(vercel): break up the nft inclusion of Prisma CLI (#1089)
1 parent 583929e commit d2fedb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ let defaultClientPath: string
191191
if (process.env.NEXUS_PRISMA_CLIENT_PATH) {
192192
defaultClientPath = process.env.NEXUS_PRISMA_CLIENT_PATH
193193
} else if (process.env.LINK) {
194-
defaultClientPath = path.join(process.cwd(), '/node_modules/@prisma/client')
194+
defaultClientPath = eval("path.join(process.cwd(), '/node_modules/@prisma/client')")
195195
} else {
196196
defaultClientPath = '@prisma/client'
197197
}

0 commit comments

Comments
 (0)