-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathastro.config.mjs
37 lines (36 loc) · 929 Bytes
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import vue from '@astrojs/vue';
import sitemap from '@astrojs/sitemap';
import node from '@astrojs/node';
import InjectJSCSS from './src/_intergration/InjectJSCSS';
import BuildSearchIndex from './src/_intergration/BuildSearchIndex'
import RunJsonServer from './src/_intergration/RunJsonServer'
// https://astro.build/config
export default defineConfig({
site: 'https://qingxia-ela.github.io',
base: '/Shiina-Astro-Blog',
integrations: [mdx(), sitemap(), vue(), InjectJSCSS(), BuildSearchIndex(), RunJsonServer()],
vite: {
resolve: {
alias: [{
find: '@/',
replacement: 'src/'
}]
},
server: {
host: true
}
},
markdown: {
shikiConfig: {
theme: 'dracula',
langs: [],
wrap: true
}
},
// output: 'server',
// adapter: node({
// mode: 'standalone'
// })
});