Co-authored-by: Damaj301damaj-lol <90093996+Damaj301damaj-lol@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-05-19 15:29:27 +00:00
parent 1a9cf64271
commit ebcca7fc4e
2 changed files with 130 additions and 1 deletions

View file

@ -2,6 +2,7 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
import { componentTagger } from "lovable-tagger";
import { rssPlugin } from "./scripts/rss";
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
@ -12,7 +13,15 @@ export default defineConfig(({ mode }) => ({
overlay: false,
},
},
plugins: [react(), mode === "development" && componentTagger()].filter(Boolean),
plugins: [
react(),
mode === "development" && componentTagger(),
rssPlugin({
siteUrl: "https://damaj.tech",
title: "Damaj — Blog",
description: "Writing on engineering, systems, and craft.",
}),
].filter(Boolean),
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),