-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change functionPerRoute to false by default (#8546)
* Change functionPerRoute to false by default * Update test that depends on functionPerRoute * Update .changeset/cool-pianos-smell.md Co-authored-by: Sarah Rainsberger <[email protected]> * Update .changeset/cool-pianos-smell.md Co-authored-by: Sarah Rainsberger <[email protected]> * Update packages/integrations/vercel/README.md Co-authored-by: Sarah Rainsberger <[email protected]> * Update packages/integrations/vercel/README.md Co-authored-by: Sarah Rainsberger <[email protected]> * Update .changeset/cool-pianos-smell.md --------- Co-authored-by: Sarah Rainsberger <[email protected]>
- Loading branch information
1 parent
74dc3ed
commit b79e11f
Showing
4 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters