generated from Dnzzk2/Litos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.ts
More file actions
31 lines (26 loc) · 745 Bytes
/
astro.config.ts
File metadata and controls
31 lines (26 loc) · 745 Bytes
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
import { defineConfig } from 'astro/config'
import tailwindcss from '@tailwindcss/vite'
import react from '@astrojs/react'
import mdx from '@astrojs/mdx'
import sitemap from '@astrojs/sitemap'
import robotsTxt from 'astro-robots-txt'
import expressiveCode from 'astro-expressive-code'
import { remarkPlugins, rehypePlugins } from './plugins'
import { SITE } from './src/config'
export default defineConfig({
site: SITE.website,
base: SITE.base,
prefetch: {
prefetchAll: true,
defaultStrategy: 'viewport',
},
vite: {
plugins: [tailwindcss() as any],
},
markdown: {
syntaxHighlight: false,
remarkPlugins,
rehypePlugins,
},
integrations: [expressiveCode(), mdx(), react(), sitemap(), robotsTxt()],
})