astro/.changeset/sixty-teachers-tap.md
Chris 88cf8e1019
Update .changeset/sixty-teachers-tap.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-09-12 14:43:34 +02:00

26 lines
643 B
Markdown

---
'@astrojs/vercel': major
---
Enable Vercel Speed Insights and Vercel Web Analytics individually.
Deprecates the `analytics` property in `astro.config.mjs` in favor of `speedInsights` and `webAnalytics`.
If you're using the `analytics` property, you'll need to update your config to use the new properties:
```diff
// astro.config.mjs
export default defineConfig({
adapter: vercel({
- analytics: true,
+ webAnalytics: {
+ enabled: true
+ },
+ speedInsights: {
+ enabled: true
+ }
})
});
```
Allow configuration of Web Analytics with all available configuration options.
Bumps @vercel/analytics package to the latest version.