Reference
createCloudflareStaticAssetLoader
Creates a Cloudflare asset loader that forwards only manifest-listed client and public asset paths. This keeps the Worker from passing arbitrary paths to the `ASSETS` binding while still serving generated route scripts, CSS, imports, source maps, and allowed public files.
Signature
function createCloudflareStaticAssetLoader<Env>(options: CloudflareStaticAssetLoaderOptions<Env>): CloudflareAssetLoader<Env>