NextJS + Prisma,why is a 2M WASM file generated?

Guys, I need your help I use NextJS + Prisma + CloudFlare D1 to build the app When uploading and packaging, it actually produced a 2M wasm file, causing the entire package file to be too large and the deployment to be unsuccessful. First of all, I don't understand why it generates this file? And how to solve this problem? Thanks
1 Reply
Nurul
Nurul8mo ago
Hey @tangpanqing Where are you deploying your app? I assume to Cloudflare?
Want results from more Discord servers?
Add your server