You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
513 B
JavaScript
26 lines
513 B
JavaScript
import { defineConfig } from 'astro/config'
|
|
import preact from '@astrojs/preact'
|
|
|
|
import node from '@astrojs/node'
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
markdown: {
|
|
shikiConfig: {
|
|
theme: 'github-light',
|
|
},
|
|
},
|
|
integrations: [preact()],
|
|
adapter: node({
|
|
mode: 'standalone',
|
|
}),
|
|
output: 'hybrid',
|
|
outDir: './out/astro',
|
|
build: {
|
|
client: './out/astro/client',
|
|
server: './out/astro/server',
|
|
},
|
|
})
|