114bf63e11
* Removed ignores * Migration to v3 * More changes * Remove legacy redirects * Fail when there is no ENABLE_VC_BUILD * Fix edge * Updated readme * Changeset * Added static mode * Updated documentation * Updated shim * Made edge work! * Updated changeset * Ensure empty dir * Fixed redirects for dynamic paths * Removed extra declaration * Splited imports * Updated readme * Fixed some urls * Deprecated shim! * [test]: Vercel NFT * Beautify * Edge bundle to node 14.19 Vercel runs 14.19.1 (I've checked it manually) * Re-added shim (#3304) * Added `node:` prefix * Use the same bundling as Deno for Edge * Remove esbuild * Fixed shim * Moved nft * Updated changeset * Added note about Edge * fix typo * Added support for Node 16 (vercel/vercel#7772)
852 B
852 B
@astrojs/vercel |
---|
minor |
[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
.