Apply feedback from review
This commit is contained in:
parent
88cf8e1019
commit
4441016d66
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
|
@ -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.`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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.`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue