product · inferred from evidence
prisma-client
A provider for the Prisma client generator that defaults to ESM output.
- ReferenceError: exports is not defined in ES module scope with provider = "prisma-client"
When switching the generator provider from "prisma-client-js" to the new "prisma-client" in a CommonJS project (moduleResolution: "nodenext"), the generated client crashes at startup: Object.defineProperty(exports, "__esModule", { value: tr