alixaxel / chrome-aws-lambda

Chromium Binary for AWS Lambda and Google Cloud Functions
MIT License
3.17k stars 289 forks source link

Warning: Max serverless function size of 50 MB compressed or 250 MB uncompressed reached #285

Open skhaz opened 1 year ago

skhaz commented 1 year ago

I am using chrome-aws-lambda@10.1.0 on Vercel; the previous version works fine. However, when I upgrade to the newer version, it was impossible to build due to the size.

Error: The Serverless Function "api/thumbnail.jpg" is 50.28mb which exceeds the maximum size limit of 50mb. Learn More: https://vercel.link/serverless-function-size

Is it possible to reduce the library size?