Vite + D1 + Cloudflare Workers + Prisma
I've used Prisma + D1 + Cloudflare workers before and it's been a great experience.
I'm not trying to use the same tack with Vite + Honox (https://github.com/honojs/honox/tree/main) in the mix.
My vite config uses two plugins:
Using prisma modules causes errors:
e.g.
causes this error
Are there any tricks to a vite config that will work with Prisma client libraries, but also allow the cloudflare worker build plugin to work (to rollup into a single output file with no external dependencies)
I'm not trying to use the same tack with Vite + Honox (https://github.com/honojs/honox/tree/main) in the mix.
My vite config uses two plugins:
Using prisma modules causes errors:
e.g.
causes this error
Are there any tricks to a vite config that will work with Prisma client libraries, but also allow the cloudflare worker build plugin to work (to rollup into a single output file with no external dependencies)
GitHub
HonoX - Hono based meta framework. Contribute to honojs/honox development by creating an account on GitHub.