We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found that my relatively light project would throw the following error on builds:
Error: A Serverless Function has exceeded the unzipped maximum size of 250 MB. : https://vercel.link/serverless-function-size
Adding the following vercel.json file helped:
vercel.json
{ "functions": { "api/**": { "excludeFiles": "{.next,*.cache,node_modules,public,app}/**" } } }
I believe the build cache is being included somehow in the build.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Found that my relatively light project would throw the following error on builds:
Error: A Serverless Function has exceeded the unzipped maximum size of 250 MB. : https://vercel.link/serverless-function-size
Adding the following
vercel.json
file helped:{ "functions": { "api/**": { "excludeFiles": "{.next,*.cache,node_modules,public,app}/**" } } }
I believe the build cache is being included somehow in the build.
The text was updated successfully, but these errors were encountered: