-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
astro.config.ts
38 lines (36 loc) · 930 Bytes
/
astro.config.ts
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
38
import { defineConfig } from 'astro/config'
import sitemap from '@astrojs/sitemap'
import robotsTxt from 'astro-robots-txt'
import unocss from 'unocss/astro'
import astroExpressiveCode from 'astro-expressive-code'
import mdx from '@astrojs/mdx'
import { remarkPlugins, rehypePlugins } from './plugins'
import { SITE } from './src/config'
// https://docs.astro.build/en/reference/configuration-reference/
export default defineConfig({
site: SITE.website,
base: SITE.base,
integrations: [
sitemap(),
robotsTxt(),
unocss({
// https://unocss.dev/integrations/astro#style-reset
injectReset: true,
}),
astroExpressiveCode(),
mdx(),
],
markdown: {
syntaxHighlight: false,
remarkPlugins,
rehypePlugins,
},
experimental: {
contentLayer: true,
contentIntellisense: true,
directRenderScript: true,
},
vite: {
build: { chunkSizeWarningLimit: 1200 },
},
})