Issues with Prisma in Turborepo
I'm essentially generating the client and compiling a commonjs version so that i can use my Prisma client across our monorepo. this works, however, when i try to extend the client to use extensions, it breaks with the following error:
I've been at this for a day now, and I'm slowly losing my sanity with this. I don't understand why extending the client would break it. I tried looking for flags to include extensions in the generated client but couldn't find anything.
The issue is that I need to use Prisma in both NextJS (EsNext) and NestJS (CommonJS) - which means I need both esm and cjs support for the exported clients.
I've been at this for a day now, and I'm slowly losing my sanity with this. I don't understand why extending the client would break it. I tried looking for flags to include extensions in the generated client but couldn't find anything.
The issue is that I need to use Prisma in both NextJS (EsNext) and NestJS (CommonJS) - which means I need both esm and cjs support for the exported clients.
