Files
Checkmate/client/vite.config.ts
T

22 lines
556 B
TypeScript
Raw Normal View History

2025-09-25 10:11:41 -07:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import svgr from "vite-plugin-svgr";
2025-09-25 16:06:52 -07:00
import path from "path";
2025-09-26 14:32:16 -07:00
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
2025-11-13 13:47:26 -08:00
export default defineConfig(() => {
return {
base: "/",
plugins: [svgr(), react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
},
},
optimizeDeps: {
include: ["@mui/material/Tooltip", "@emotion/styled"],
},
};
});