b79e11f3c4
* Change functionPerRoute to false by default * Update test that depends on functionPerRoute * Update .changeset/cool-pianos-smell.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/cool-pianos-smell.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/vercel/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/vercel/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/cool-pianos-smell.md --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
9 lines
599 B
Markdown
9 lines
599 B
Markdown
---
|
|
'@astrojs/vercel': major
|
|
---
|
|
|
|
Turn off `functionPerRoute` by default
|
|
|
|
In the previous version of `@astrojs/vercel`, the default for `functionPerRoute` was changed to `true`. While this option has several advantages, if you're a free tier user you are likely to run into the limit of 12 functions per deployment. This will result in an error when you attempt to deploy.
|
|
|
|
For this reason, the `functionPerRoute` option is now back to defaulting to `false`. It's still a useful option if you have a paid plan and have previously run into issues with your single function exceeding the size limits.
|