You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a serverless function on Vercel, deploys fail if my render function is over 50mb...
Error: The Serverless Function "render" is 56.88mb which exceeds the maximum size limit of 50mb. Learn More: https://vercel.link/serverless-function-size
I know this is my fault for having crap dependencies. For example, getting rid of canvas lopped 7mb off the built size and got me under the limit. But is there any way to analyze the "built" function to get rid of them rather than by trial and error? I tried building locally, but it's unclear to me where to look / what to analyze.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Using a serverless function on Vercel, deploys fail if my
render
function is over 50mb...Error: The Serverless Function "render" is 56.88mb which exceeds the maximum size limit of 50mb. Learn More: https://vercel.link/serverless-function-size
I know this is my fault for having crap dependencies. For example, getting rid of
canvas
lopped 7mb off the built size and got me under the limit. But is there any way to analyze the "built" function to get rid of them rather than by trial and error? I tried building locally, but it's unclear to me where to look / what to analyze.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions