From cfab5962e4f30df1c8aef237cd1120de644dd821 Mon Sep 17 00:00:00 2001 From: Zebreus Date: Sun, 25 Oct 2026 02:41:43 +0100 Subject: [PATCH] Put the styles in a separate styles.css Co-Authored-By: Claude Opus 5.5 (1M context) --- astro.config.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 12b6d7d..63ef084 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,9 +2,11 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ // Relative asset URLs, so the site works wherever it is hosted, e.g. https://berlin.ccc.de/kik/ - build: { format: 'file', assetsPrefix: '.' }, + build: { format: 'file', assetsPrefix: '.', inlineStylesheets: 'never' }, compressHTML: false, vite: { + // The pages' styles, which Astro bundles while building the pages + build: { rolldownOptions: { output: { assetFileNames: 'styles.css' } } }, environments: { client: { build: {