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:
parent
90ae100cf4
commit
4e9a3ac0bd
2 changed files with 8 additions and 1 deletions
7
.changeset/loud-cougars-grow.md
Normal file
7
.changeset/loud-cougars-grow.md
Normal 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`.
|
|
@ -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',
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue