0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/.changeset/weak-dancers-beam.md
Matthew Phillips 5ea02b12fd
Deprecate the functionPerRoute option (#11728)
* Deprecate the functionPerRoute option

* Update .changeset/weak-dancers-beam.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-16 08:41:10 -04:00

20 lines
462 B
Markdown

---
'@astrojs/vercel': minor
---
Deprecates the `functionPerRoute` option
This option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to:
```diff
import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel/serverless';
export default defineConfig({
// ...
output: 'server',
adapter: vercel({
- functionPerRoute: true,
}),
});
```