Any way to decrease prisma client size for Cloudflare D1?
I have a small schema with two models and running
prisma generate
takes the bundle size from 30kb to 860kb which is super unreasonable for a serverless project. Is this intended and is there anything I can do to decrease the size in production?Solution:Jump to solution
This is intended, yes, and no there’s no improvements to be made beyond ensuring that you’re generating the minimum amount of code.
2 Replies