0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

feat: update astro add vercel (#12268)

This commit is contained in:
Emanuele Stoppa 2024-10-25 14:17:36 +01:00 committed by GitHub
parent 90ae100cf4
commit 4e9a3ac0bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -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`.

View file

@ -89,7 +89,7 @@ export default async function seed() {
const OFFICIAL_ADAPTER_TO_IMPORT_MAP: Record<string, string> = {
netlify: '@astrojs/netlify',
vercel: '@astrojs/vercel/serverless',
vercel: '@astrojs/vercel',
cloudflare: '@astrojs/cloudflare',
node: '@astrojs/node',
};