Put the styles in a separate styles.css
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
aed4af0868
commit
cfab5962e4
1 changed files with 3 additions and 1 deletions
|
|
@ -2,9 +2,11 @@ import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
// Relative asset URLs, so the site works wherever it is hosted, e.g. https://berlin.ccc.de/kik/
|
// 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,
|
compressHTML: false,
|
||||||
vite: {
|
vite: {
|
||||||
|
// The pages' styles, which Astro bundles while building the pages
|
||||||
|
build: { rolldownOptions: { output: { assetFileNames: 'styles.css' } } },
|
||||||
environments: {
|
environments: {
|
||||||
client: {
|
client: {
|
||||||
build: {
|
build: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue