P
Prisma4mo 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_4mo ago
After using bundle analyzer, I can conclude that this wasm is Prisma
wunn_
wunn_4mo ago
No description
Solution
jonfanz
jonfanz4mo 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.
Want results from more Discord servers?
Add your server