Check published package sizes
Write a test that makes sure we don't ship more things than we should. (eg. 42MB engine in SDK)
See https://www.notion.so/prismaio/Check-package-sizes-786e81e4c9c04a3f8443dcd410491775
Note that we have https://prisma.github.io/prisma/dev/bench/ and could potentially add some things in the CI job that creates this.
I just noticed that this is a duplicate of https://github.com/prisma/prisma/issues/10356. I'll let you @Jolg42 close one of both, depending on which CI you think this issue should be tackled.
FYI: It happened again https://unpkg.com/browse/@prisma/[email protected]/dist/get-generators/
"It"?
That we shipped more than we should have, look at that 42MB engine.
Ahh, that is unexpected :D
Yeah, we should then indeed prioritize that. (And fix it as well)
We recently had to fix @prisma/internals https://github.com/prisma/prisma/pull/16649