Honox + Vite + Prisma
When I try to use Prisma client libraries,
I get errors in my dev server:
When I try to deploy, I get errors:
This is my vite.config.ts file:
These are my npm scripts:
I can make the dev server work by setting ssr.external to a list of the prisma libraries, but that doesn't solve the prod deployment.
What's the right vite config to get Prisma working well with Cloudflare Workers + Honox?
0 Replies