Vite Plugin for Fastly Compute
JSON →Seamlessly integrates Vite with Fastly Compute for serverless edge deployments. Version 0.2.0 is the current release, requiring Node 22+ (including 24-26), Vite ~7.3 or 8, and @fastly/js-compute 3. This plugin extends Vite's build pipeline to support Fastly's compute environment, enabling developers to use Vite's dev server, HMR, and optimized builds for edge functions. It leverages the Viceroy local testing tool and Fastly's JS SDK, differentiating from generic vite plugins by providing Fastly-specific configurations, such as handling edge runtime APIs and output formats for @fastly/js-compute.
Resources
packagevite-plugin-fastly ↗
API endpoints
full doc /v1/registry/vite-plugin-fastly