honojs / vite-plugins

Vite Plugins for Hono
https://hono.dev
130 stars 34 forks source link

Deployment Failure with @prisma/client/edge on Cloudflare Pages #185

Open jed-cheng opened 1 month ago

jed-cheng commented 1 month ago

When deploying my project to Cloudflare Pages using the Hono Cloudflare Pages template, the build fails because it cannot resolve the @prisma/client/edge dependency. This also generates a warning that @prisma/client/edge is treated as an external dependency when building locally, though the project runs successfully in the development environment. image image