website/astro.config.mjs
Juan Carlos Manzanero Domínguez 53c56e05b8 fix robots file
2024-07-01 13:15:38 -06:00

32 lines
703 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";
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
site: "https://www.juancman.dev/",
integrations: [
sitemap(),
react(),
tailwind({
applyBaseStyles: false,
}),
mdx({
syntaxHighlight: false,
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: "catppuccin-mocha",
},
],
],
}),
],
});