-
#3216
114bf63e
Thanks @JuanM04! - [BREAKING] Now with Build Output API (v3)! See the README to get started.trailingSlash
redirects works without avercel.json
file: just configure them inside yourastro.config.mjs
- Multiple deploy targets:
edge
,serverless
andstatic
! - When building to
serverless
, your code isn't transpiled to CJS anymore.
Migrate from v0.1
- Change the import inside
astro.config.mjs
:- import vercel from '@astrojs/vercel'; + import vercel from '@astrojs/vercel/serverless';
- Rename the
ENABLE_FILE_SYSTEM_API
environment variable toENABLE_VC_BUILD
, as Vercel changed it. - The output folder changed from
.output
to.vercel/output
— you may need to update your.gitignore
.
cafd36ef
Thanks @FredKSchott! - Update README
815d62f1
Thanks @FredKSchott! - no changes.
- #3008
8bd49c95
Thanks @JuanM04! - Updated integrations'astro:build:done
hook: now it matches the client dist when using SSR