PrismaP
Prisma2y ago
2 replies
tangpanqing

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
Was this page helpful?