- Updated dependencies [
4de53ecc
]:- @astrojs/webapi@0.12.0
- #3368
9d01f93b
Thanks @JuanM04! - RemovenodeVersion
option forserverless
target. Now it is inferred from Vercel
-
#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