Skip to content

Commit

Permalink
Update .changeset/weak-dancers-beam.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
matthewp and sarah11918 authored Aug 15, 2024
1 parent 8189f00 commit 580e915
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .changeset/weak-dancers-beam.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,19 @@
'@astrojs/vercel': minor
---

Deprecate the functionPerRoute option
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,
}),
});
```

0 comments on commit 580e915

Please sign in to comment.