diff --git a/astro.config.mjs b/astro.config.mjs index 5274544..7d248f7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,6 +4,11 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ site: 'https://pegma.dev', trailingSlash: 'never', + // compressHTML removes boundary whitespace around inline elements (e.g. newline+indent between text and ), so + // source like "lives in\n catalog.json" can render as "lives incatalog.json". + // Disabling HTML minification here avoids having to police line breaks next to inline tags; + // Cloudflare still applies gzip/brotli at the edge. + compressHTML: false, build: { // Emit /stack.html rather than /stack/index.html so Pages serves // /stack directly — no 308 to a trailing-slash URL, and the served