Update dependencies

This commit is contained in:
juancmandev
2025-03-26 11:48:01 -06:00
parent 2ae12f480c
commit 18c93ff3bb
9 changed files with 880 additions and 1282 deletions

View File

@ -1,34 +1,26 @@
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';
import playformInline from '@playform/inline';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
site: 'https://juancman.dev/',
integrations: [
sitemap(),
react(),
tailwind({
applyBaseStyles: false,
}),
mdx({
syntaxHighlight: false,
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: 'catppuccin-mocha',
},
],
],
syntaxHighlight: 'shiki',
shikiConfig: { theme: 'tokyo-night' },
rehypePlugins: [rehypeSlug],
}),
playformInline(),
],
vite: {
plugins: [tailwindcss()],
},
});