PrismaP
Prisma7mo ago
7 replies
will smith

ESM with D1 and prisma-client-js

As far as I know the D1 adapter needs prisma-client-js, but I can't get ESM generated JS with that client. I need to switch to
prisma-client
, which does generate ESM, but doesn't work with the D1 adapter.

How can I reconcile the 2?
Was this page helpful?