P
Prisma8mo ago
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.
No description
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
Engines | Prisma Documentation
Prisma's query engine manages the communication with the database when using Prisma Client. Learn how it works on this page.
Jump to solution
3 Replies
wunn_
wunn_OP8mo ago
After using bundle analyzer, I can conclude that this wasm is Prisma
wunn_
wunn_OP8mo ago
No description
Solution
jonfanz
jonfanz8mo ago
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
Engines | Prisma Documentation
Prisma's query engine manages the communication with the database when using Prisma Client. Learn how it works on this page.

Did you find this page helpful?