kik-website/astro.config.mjs
Zebreus 4d6900ccf9 Ship styles.css unminified
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 02:44:41 +01:00

21 lines
756 B
JavaScript

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: '.', inlineStylesheets: 'never' },
compressHTML: false,
vite: {
// The pages' styles, which Astro bundles while building the pages, readable rather than minified
build: { cssMinify: false, rolldownOptions: { output: { assetFileNames: 'styles.css' } } },
environments: {
client: {
build: {
rolldownOptions: {
// The page's script and the terminal it loads
output: { entryFileNames: 'loader.js', chunkFileNames: 'terminal.js' },
},
},
},
},
},
});