diff --git a/.changeset/nine-terms-reply.md b/.changeset/nine-terms-reply.md new file mode 100644 index 000000000000..daab6c2c6e70 --- /dev/null +++ b/.changeset/nine-terms-reply.md @@ -0,0 +1,5 @@ +--- +'@astrojs/vercel': patch +--- + +Update verbiage of Vercel warning diff --git a/packages/integrations/vercel/src/serverless/adapter.ts b/packages/integrations/vercel/src/serverless/adapter.ts index 87308ce2f052..90d40a52de6d 100644 --- a/packages/integrations/vercel/src/serverless/adapter.ts +++ b/packages/integrations/vercel/src/serverless/adapter.ts @@ -132,7 +132,9 @@ export default function vercelServerless({ 'astro:config:done': ({ setAdapter, config, logger }) => { if (functionPerRoute === true) { logger.warn( - "The Vercel plans might have limits to the number of functions you can create, make sure to check them if you don't want to incur into additional costs." + `Vercel's hosting plans might have limits to the number of functions you can create. +Make sure to check your plan carefully to avoid incurring additional costs. +You can set functionPerRoute: false to prevent surpassing the limit.` ); } setAdapter(getAdapter({ functionPerRoute, edgeMiddleware }));