2023-08-10 13:13:35 +00:00
|
|
|
---
|
|
|
|
'@astrojs/vercel': major
|
|
|
|
---
|
|
|
|
|
|
|
|
Enable Vercel Speed Insights and Vercel Web Analytics individually.
|
2023-08-29 15:30:40 +00:00
|
|
|
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
|
|
|
|
+ }
|
|
|
|
})
|
|
|
|
});
|
|
|
|
```
|
|
|
|
|
2023-08-10 13:13:35 +00:00
|
|
|
Allow configuration of Web Analytics with all available configuration options.
|
|
|
|
Bumps @vercel/analytics package to the latest version.
|