PrismaP
Prisma2y ago
5 replies
wunn_

A big 2M wasm file created after implementing prisma

I'm using NextJS combining with (Prisma + D1 Adapter), I don't know why Prisma produced such a large wasm file resulting in a build failure in Cloudflare pages.
image.png
Solution
That’s correct, yes. The file is our query engine. You can learn more about that here: https://www.prisma.io/docs/orm/more/under-the-hood/engines
Prisma's query engine manages the communication with the database when using Prisma Client. Learn how it works on this page.
Engines | Prisma Documentation
Was this page helpful?