diff --git a/astro.config.mjs b/astro.config.mjs index 675c057..01191e7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -36,5 +36,13 @@ export default defineConfig({ ...(project.comments ? { comments: project.comments } : {}), }), ], - vite: { plugins: [tailwindcss()] }, + vite: { + plugins: [tailwindcss()], + build: { + // The site Worker sends `Content-Security-Policy: script-src 'self'`, which blocks inline + // scripts. Astro inlines a component's