Cloudflare Workers
On this page
Workers Static Assets#
Workers Static Assets is an optional hosting target, separate from Pages. Generate the site first, then configure assets.directory to point at output. A Worker script is unnecessary for ordinary static routes. Read the official static-assets guide for current account and deployment configuration.
This project has not performed an actual Workers deployment. Do not reuse Pages build environment assumptions: Cloudflare's migration guide distinguishes Workers Builds variables from Pages variables. In particular an injected Pages deployment URL has no direct Workers equivalent. vaw does not currently inspect provider environment variables.