@astrojs/vercel
π Patch Changes
- Updated dependencies [
4de53ecc]:- @astrojs/webapi@0.12.0
- Updated dependencies [
πΏ Minor Changes
-
#3216
114bf63eThanks @JuanM04! - [BREAKING] Now with Build Output API (v3)! See the README to get started.trailingSlashredirects works without avercel.jsonfile: just configure them inside yourastro.config.mjs- Multiple deploy targets:
edge,serverlessandstatic! - 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_APIenvironment variable toENABLE_VC_BUILD, as Vercel changed it. - The output folder changed from
.outputto.vercel/outputβ you may need to update your.gitignore.
-
π Patch Changes
815d62f1Thanks @FredKSchott! - no changes.