New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(client): prune generated dmmf #22962
Conversation
size-limit report 📦
|
Do we know if that will affect any of the third party projects? |
This change only targets |
Yes, i think error for |
234ab24
to
ed6d358
Compare
d416c2a
to
33bfaa9
Compare
@millsp @SevInf @hayes since prisma now support cloudflare we need the Prisma.dmmf to use with 3rd party [@pothos/plugin-prisma] plugin.
|
This PR prunes the generated dmmf in the client to its bare minimal version, and only does it when we are generating the
wasm
client. This improves gzip compression.