mirror of
https://github.com/Alee14/personal-website.git
synced 2025-01-22 10:51:50 -05:00
36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
import { defineConfig, passthroughImageService } from 'astro/config';
|
|
import icon from "astro-icon";
|
|
import vercel from "@astrojs/vercel/serverless";
|
|
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: true
|
|
}
|
|
}),
|
|
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: []
|
|
}
|
|
}
|
|
});
|