Apply feedback from review

This commit is contained in:
Chris 2023-09-12 14:46:01 +02:00
parent 88cf8e1019
commit 4441016d66
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
--- ---
'@astrojs/vercel': major '@astrojs/vercel': minor
--- ---
Enable Vercel Speed Insights and Vercel Web Analytics individually. Enable Vercel Speed Insights and Vercel Web Analytics individually.

View file

@ -142,7 +142,7 @@ export default function vercelServerless({
if (webAnalytics?.enabled || analytics) { if (webAnalytics?.enabled || analytics) {
if (analytics) { if (analytics) {
logger.warn( 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.`
); );
} }

View file

@ -62,7 +62,7 @@ export default function vercelStatic({
if (webAnalytics?.enabled || analytics) { if (webAnalytics?.enabled || analytics) {
if (analytics) { if (analytics) {
logger.warn( 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.`
); );
} }