This Prebuilt Deployment example demonstrates how leverage the Vercel Image Optimization platform feature using the Build Output API.
https://build-output-api-image-optimization.vercel.sh
- The
.vercel/output/static
directory contains some (unoptimized) static image files, and anindex.html
page. - The
.vercel/output/config.json
file contains the "images" property which configures the Image Optimization feature.
The images can be served by the Image Optimization feature via the GET /_vercel/image/**
endpoint.