CloudCannon / bookshop

📚 A component development workflow for static websites.
MIT License
249 stars 21 forks source link

feat: attempt to load the hugo wasm from a cdn where possible #84

Closed bglw closed 2 years ago

bglw commented 2 years ago

Loads hugo_renderer.wasm from cdn.bookshop.build for faster initialization by hitting the Cloudflare cache there.

Falls back to the wasm file hosted alongside the active javascript if for any reason the CDN request fails.