Add drone file, cleanup Astro config

This commit is contained in:
2024-11-17 18:52:52 +01:00
parent 46a3a76660
commit 1df06a8c88
5 changed files with 51 additions and 17 deletions
+1 -14
View File
@@ -1,13 +1,8 @@
import { defineConfig } from 'astro/config'
import preact from '@astrojs/preact'
import node from '@astrojs/node'
import mdx from '@astrojs/mdx'
import remarkToc from 'remark-toc'
import rehypeSlug from 'rehype-slug'
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
// https://astro.build/config
export default defineConfig({
server: {
@@ -19,13 +14,5 @@ export default defineConfig({
},
},
integrations: [preact(), mdx()],
// adapter: node({
// mode: 'standalone',
// }),
output: 'hybrid',
outDir: './out/astro',
build: {
client: './out/astro/client',
server: './out/astro/server',
},
output: 'static'
})