Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a>), so
// source like "lives in\n <a …>catalog.json</a>" 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
Expand Down
Loading