website/astro.config.mjs
Juan Carlos Manzanero Domínguez 9c3e631c78 change build to static
2024-06-25 15:58:26 -06:00

30 lines
648 B
JavaScript

import { defineConfig } from "astro/config";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import rehypePrettyCode from "rehype-pretty-code";
import rehypeSlug from "rehype-slug";
// https://astro.build/config
export default defineConfig({
site: "https://www.juancman.dev/",
integrations: [
react(),
tailwind({
applyBaseStyles: false,
}),
mdx({
syntaxHighlight: false,
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: "catppuccin-mocha",
},
],
],
}),
],
});