troylusty.com/astro.config.ts

37 lines
840 B
TypeScript
Raw Normal View History

2024-12-23 21:18:55 +00:00
import { defineConfig, passthroughImageService } from "astro/config";
import sitemap from "@astrojs/sitemap";
import rehypeExternalLinks from "rehype-external-links";
import mdx from "@astrojs/mdx";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
// https://astro.build/config
export default defineConfig({
site: "https://troylusty.com",
2025-01-19 13:30:10 +00:00
integrations: [sitemap(), mdx(), tailwind(), icon()],
2024-12-23 21:18:55 +00:00
output: "static",
markdown: {
rehypePlugins: [
[
rehypeExternalLinks,
{
target: "_blank",
},
],
],
2025-01-19 13:30:10 +00:00
shikiConfig: {
wrap: true,
themes: {
light: "github-light-default",
dark: "github-dark-default",
},
},
2024-12-23 21:18:55 +00:00
},
image: {
service: passthroughImageService(),
},
experimental: {
responsiveImages: true,
},
});