// Fills the inline-script hashes into dist/_headers after a build. // // The Content-Security-Policy in public/_headers allows no 'unsafe-inline' // for scripts. The inline scripts the site does carry (the theme and page // iris bootstraps and the Vercel stubs in Base.astro, and any module Astro // inlines) are allowed by SHA-256 hash instead, which a browser accepts // only for the exact text. Astro rewrites inlined modules on every build, // so the hashes are computed from the built HTML rather than by hand. // // Runs last in `npm run build`. Anything that adds an inline