-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
57 lines (56 loc) · 1.23 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import tailwind from '@astrojs/tailwind';
import compress from 'astro-compress';
import icon from 'astro-icon';
import { defineConfig } from 'astro/config';
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
import rehypeSlug from 'rehype-slug';
// https://astro.build/config
export default defineConfig({
site: 'https://arthur.place',
markdown: {
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, { behavior: 'wrap' }]],
shikiConfig: {
wrap: true,
theme: 'vitesse-dark'
}
},
build: {
format: 'file'
},
output: 'static',
integrations: [
mdx(),
sitemap(),
icon({
include: {
mdi: [
'github',
'account-file-outline',
'twitter',
'npm',
'twitch',
'linkedin',
'at',
'arrow-left',
'file-download',
'lightbulb-alert-outline',
'home-variant',
'post-outline',
'downloads',
'star'
],
ri: ['bluesky-fill']
}
}),
compress({
CSS: true,
Image: true,
JavaScript: true,
SVG: true,
HTML: true
}),
tailwind()
]
});