Open hugo-HDSF opened 1 year ago
Unfortunately I cannot help you with size limit. Standard application based on Symfony are so big. Best way is to shrink this app somehow, it depends on your use-case. Also run standard symfony application with all GUI and other thing is not good for lambdas from my point of view. I use PHP lambdas for API endpoints or some micro applications.
I have the same issue, but my project is Laravel and its giving 53 Mbs, so its possible just messing with the dependencies lower it to 50 mega?
You can test this package, https://github.com/dg/composer-cleaner, to clean unused stuff from vendor.
Question
Hello, I was trying to deploy an old symfony 4.4.* project to vercel but sadly, I allways get a size limit error for the serverless function, I tried removing some dependencies but it seems I can't really tell how to work this around, if you have any suggestion :/.
here is a list of my direct packages :