diff --git a/.changeset/sixty-teachers-tap.md b/.changeset/sixty-teachers-tap.md index 21a2f83f4..122557751 100644 --- a/.changeset/sixty-teachers-tap.md +++ b/.changeset/sixty-teachers-tap.md @@ -1,5 +1,5 @@ --- -'@astrojs/vercel': major +'@astrojs/vercel': minor --- Enable Vercel Speed Insights and Vercel Web Analytics individually. diff --git a/packages/integrations/vercel/src/serverless/adapter.ts b/packages/integrations/vercel/src/serverless/adapter.ts index 1b222af15..1d4b59e04 100644 --- a/packages/integrations/vercel/src/serverless/adapter.ts +++ b/packages/integrations/vercel/src/serverless/adapter.ts @@ -142,7 +142,7 @@ export default function vercelServerless({ if (webAnalytics?.enabled || analytics) { if (analytics) { logger.warn( - `@astrojs/vercel: the \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` + `The \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` ); } diff --git a/packages/integrations/vercel/src/static/adapter.ts b/packages/integrations/vercel/src/static/adapter.ts index f0e30ca5c..84ccc4f9b 100644 --- a/packages/integrations/vercel/src/static/adapter.ts +++ b/packages/integrations/vercel/src/static/adapter.ts @@ -62,7 +62,7 @@ export default function vercelStatic({ if (webAnalytics?.enabled || analytics) { if (analytics) { logger.warn( - `@astrojs/vercel: the \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` + `The \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` ); }