Prisma Imports bundle sizes too big?
I've noticed if i try to import an enum from prisma, the bundle size is always 74.1k gzipped. Will it my affect my serverless function sizes or is it just something that is bigger on the dev environment? I mean i wanted to avoid repeating the roles but they should rarely change and makign another file with the role enum shouldn't be an issue, especially if it removes such a huge bundle from my functions
2 Replies
Yes, prisma is in general massive, slow and all around not performant at all.
Does prisma not support tree shaking at all?