Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 852 Bytes

tiny-apes-shave.md

File metadata and controls

20 lines (15 loc) · 852 Bytes
@astrojs/vercel
minor

[BREAKING] Now with Build Output API (v3)! See the README to get started.

  • trailingSlash redirects works without a vercel.json file: just configure them inside your astro.config.mjs
  • Multiple deploy targets: edge, serverless and static!
  • When building to serverless, your code isn't transpiled to CJS anymore.

Migrate from v0.1

  1. Change the import inside astro.config.mjs:
    - import vercel from '@astrojs/vercel';
    + import vercel from '@astrojs/vercel/serverless';
  2. Rename the ENABLE_FILE_SYSTEM_API environment variable to ENABLE_VC_BUILD, as Vercel changed it.
  3. The output folder changed from .output to .vercel/output — you may need to update your .gitignore.