PrismaP
Prisma2y ago
2 replies
zilla

Prisma without Engine for Serverless/Edge?

I have an old codebase that is using serverless.com framework on AWS Lambda and using Prisma.

I was wondering with driverAdapters can I avoid the prisma engines? and probably just use like a query builder like Drizzle?

Currently my function total size is like 54 MB! and almost 80% of it is Prisma engine things

 patterns:
        - '!node_modules/.prisma/client/libquery_engine-*'
        - 'node_modules/.prisma/client/libquery_engine-rhel-*'
        - '!node_modules/prisma/libquery_engine-*'
        - '!node_modules/@prisma/engines/**'


any leads or help would be appreciated!
Was this page helpful?