blob: 24d101ace4507f7a3ba5d698661df2d553d45ae1 (
plain) (
blame)
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
|
import { defineConfig, passthroughImageService } from 'astro/config';
import icon from "astro-icon";
import react from "@astrojs/react";
import vercel from "@astrojs/vercel";
import svelte from "@astrojs/svelte";
// https://astro.build/config
export default defineConfig({
site: 'https://alee14.me',
integrations: [icon(), react(), svelte()],
output: "server",
adapter: vercel({
webAnalytics: {
enabled: false
}
}),
image: {
service: passthroughImageService()
},
markdown: {
shikiConfig: {
// Choose from Shiki's built-in themes (or add your own)
// https://github.com/shikijs/shiki/blob/main/docs/themes.md
theme: 'dracula',
// Alternatively, provide multiple themes
// https://shikiji.netlify.app/guide/dual-themes#light-dark-dual-themes
// Enable word wrap to prevent horizontal scrolling
wrap: true,
// Add custom transformers: https://shikiji.netlify.app/guide/transformers
// Find common transformers: https://shikiji.netlify.app/packages/transformers
transformers: []
}
}
// vite: {
// server: {
// allowedHosts: true
// }
// }
});
|