aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
blob: 5c14effdc169cbda518245303abfc87bb977d8ba (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
import { defineConfig, passthroughImageService } from 'astro/config';
import icon from "astro-icon";
import vercel from "@astrojs/vercel";
import preact from "@astrojs/preact";
import svelte from "@astrojs/svelte";

// https://astro.build/config
export default defineConfig({
  site: 'https://alee14.me',
  integrations: [icon(), preact({
    compat: true
  }), 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: []
    }
  }
});