serverless-webpack-prisma icon indicating copy to clipboard operation
serverless-webpack-prisma copied to clipboard

Disable `installDeps` by default

Open Neurrone opened this issue 1 year ago • 1 comments

I understand the installDeps option was added because it was required for a previous version of Prisma.

However, this increases deploy times massively. I have a project that already has Prisma as a dev dependency and with the latest version of Prisma, deploy times reduced by 2 minutes when disabling installDeps. Setting it to false didn't seem to cause any breakage.

Neurrone avatar Mar 05 '23 07:03 Neurrone

We just ran into this too after months of debugging this issue on why our lambda size was so large. I'd highly encourage you to set the default to false please!

imoby avatar Jul 10 '23 21:07 imoby