diff --git a/.changeset/loud-cougars-grow.md b/.changeset/loud-cougars-grow.md new file mode 100644 index 000000000000..3e51ae4d9cd6 --- /dev/null +++ b/.changeset/loud-cougars-grow.md @@ -0,0 +1,7 @@ +--- +'astro': major +--- + +The command `astro add vercel` now updates the configuration file differently, and adds `@astrojs/vercel` as module to import. + +This is a breaking change because it requires the version `8.*` of `@astrojs/vercel`. diff --git a/packages/astro/src/cli/add/index.ts b/packages/astro/src/cli/add/index.ts index 11ddaffbe720..caa6c38e7405 100644 --- a/packages/astro/src/cli/add/index.ts +++ b/packages/astro/src/cli/add/index.ts @@ -89,7 +89,7 @@ export default async function seed() { const OFFICIAL_ADAPTER_TO_IMPORT_MAP: Record = { netlify: '@astrojs/netlify', - vercel: '@astrojs/vercel/serverless', + vercel: '@astrojs/vercel', cloudflare: '@astrojs/cloudflare', node: '@astrojs/node', };