import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import prismjs from "vite-plugin-prismjs"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [ react(), prismjs({ plugins: ["line-numbers"], languages: [ "c", "cpp", "css", "git", "go", "html", "java", "js", "json", "jsx", "kotlin", "lua", "md", "py", "rust", "sh", "sql", "ts", "tsx", "url", "xml", ], }), ], build: { outDir: "../server/dist", }, });