Files
Checkmate/client/vite.config.ts
T

18 lines
384 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 10:11:41 -07:00
export default defineConfig(({}) => {
2025-09-18 12:02:49 -07:00
let version = "3.2.0";
2025-06-24 16:31:18 +08:00
2025-06-24 15:40:50 +08:00
return {
base: "/",
plugins: [svgr(), react()],
2025-09-08 20:39:45 -07:00
optimizeDeps: {
2025-06-24 15:40:50 +08:00
include: ["@mui/material/Tooltip", "@emotion/styled"],
},
define: {
__APP_VERSION__: JSON.stringify(version),
},
};
});