Yesterday's Top Poster

Single-second static deployments now support more assets

  • Thread starter Thread starter Melkey Moksyakov
  • Start date Start date
Instant deployments let you deploy eligible static sites to Vercel in about a second, without a build step. They now support CSS, images, fonts, and other assets alongside HTML and Markdown.

Deploy a landing page with its stylesheet and images, or a report created by your coding agent, through the Vercel CLI or REST API. With the CLI, run:


Newly supported file types include:


  • Styles and data: CSS, JSON, XML, plain text, and web manifests


  • Images: SVG, PNG, JPEG, GIF, WebP, AVIF, and ICO


  • Fonts: WOFF, WOFF2, TTF, OTF, and EOT


  • Documents and media: PDF, MP4, WebM, MP3, WAV, and OGG

Instant deployments support up to 100 files totaling 25 MB or less. Vercel detects eligible deployments automatically, with no configuration required.

Deployments that exceed these limits, include JavaScript or other unsupported files, or are triggered by Git still build as before. The same applies to projects with a framework preset, custom build settings, a root-level package.json or Vercel configuration file such as vercel.json, or a public/ directory.

This update is rolling out across all plans. Learn more in the deployment documentation.

Read more

Continue reading...
 
Back
Top