mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
5ea02b12fd
* 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>
20 lines
462 B
Markdown
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,
|
|
}),
|
|
});
|
|
```
|