forked from phc/website
Add drone file, cleanup Astro config
This commit is contained in:
+1
-14
@@ -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'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user