Add nix build script to generate static files

This commit is contained in:
thiloho
2023-08-01 22:59:28 +00:00
parent 0017fcdfa7
commit a7a1570805
5 changed files with 918 additions and 854 deletions

View File

@@ -1,4 +1,4 @@
import { defineConfig, sharpImageService } from "astro/config";
import { defineConfig } from "astro/config";
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
import svelte from "@astrojs/svelte";
@@ -8,8 +8,7 @@ export default defineConfig({
site: "https://aurora.thilohohlt.com",
compressHTML: true,
experimental: {
assets: true,
inlineStylesheets: "auto",
assets: true
},
scopedStyleStrategy: "class",
markdown: {
@@ -26,8 +25,5 @@ export default defineConfig({
],
],
},
image: {
service: sharpImageService(),
},
integrations: [svelte()],
});