From d2fedb00cf10da17bce6309bd9805251e573f7e9 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Fri, 21 May 2021 02:25:25 +0200 Subject: [PATCH] fix(vercel): break up the nft inclusion of Prisma CLI (#1089) --- src/builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builder.ts b/src/builder.ts index f7722ecc..6f4f3077 100644 --- a/src/builder.ts +++ b/src/builder.ts @@ -191,7 +191,7 @@ let defaultClientPath: string if (process.env.NEXUS_PRISMA_CLIENT_PATH) { defaultClientPath = process.env.NEXUS_PRISMA_CLIENT_PATH } else if (process.env.LINK) { - defaultClientPath = path.join(process.cwd(), '/node_modules/@prisma/client') + defaultClientPath = eval("path.join(process.cwd(), '/node_modules/@prisma/client')") } else { defaultClientPath = '@prisma/client' }