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
526 B
JavaScript
26 lines
526 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import preact from '@astrojs/preact';
|
|
import node from '@astrojs/node';
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000
|
|
},
|
|
markdown: {
|
|
shikiConfig: {
|
|
theme: 'github-light'
|
|
}
|
|
},
|
|
integrations: [preact(), mdx()],
|
|
adapter: node({
|
|
mode: 'standalone'
|
|
}),
|
|
output: 'hybrid',
|
|
outDir: './out/astro',
|
|
build: {
|
|
client: './out/astro/client',
|
|
server: './out/astro/server'
|
|
}
|
|
}); |