PrismaP
Prisma5mo ago
3 replies
tomo

`@prisma/client/runtime` size is big(bigger than rust-engine version)

Hi! I have a question about a preview feature no-rust-engine . We use Prisma ORM on AWS Lambda function.

I updated Prisma version to 6.14.0 from 6.6.0 and setup configuration to use runtime, hoping that this will reduce the total size. Turned out the size actually increased. As seen in the screenshot, the node_modules size is around 100MB. I narrowed down the directory and found that runtime has many files that are not relevant to the project (we use postgres) should these be removed manually to reduce the total size?


Ref https://www.prisma.io/docs/orm/prisma-client/setup-and-configuration/no-rust-engine
image.png
image.png
Learn how to use Prisma ORM without Rust engines
Use Prisma ORM without Rust engines | Prisma Documentation
Was this page helpful?