import path from "node:path" import tailwindcss from "@tailwindcss/vite" import react from "@vitejs/plugin-react" import { defineConfig } from "vite" // Built once and uploaded to the Space; the page reads data/*.json at runtime, so the daily job // only replaces those files. export default defineConfig({ base: "./", plugins: [react(), tailwindcss()], resolve: { alias: { "@": path.resolve(import.meta.dirname, "./src") } }, })