-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
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
feat(vercel): add functions config #976
Conversation
This is nice addition thanks! Any reason we don' allow specify all function configurations? |
Codecov Report
@@ Coverage Diff @@
## main #976 +/- ##
==========================================
+ Coverage 67.77% 67.79% +0.02%
==========================================
Files 60 60
Lines 6128 6132 +4
Branches 689 691 +2
==========================================
+ Hits 4153 4157 +4
Misses 1966 1966
Partials 9 9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@pi0 Thanks for asking! Other options such as
So adding |
Thanks again! |
Currently, some serverless function options are not customizable, such as
memory
andmaxDuration
:https://vercel.com/docs/build-output-api/v3#vercel-primitives/serverless-functions/configuration
This PR adds support so users can optionally set those options in their
nitro.config.ts
file:🔗 Linked issue
❓ Type of change
📚 Description
📝 Checklist