19 lines
384 B
TypeScript
19 lines
384 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import svgr from "vite-plugin-svgr";
|
|
|
|
export default defineConfig(({}) => {
|
|
let version = "3.2.0";
|
|
|
|
return {
|
|
base: "/",
|
|
plugins: [svgr(), react()],
|
|
optimizeDeps: {
|
|
include: ["@mui/material/Tooltip", "@emotion/styled"],
|
|
},
|
|
define: {
|
|
__APP_VERSION__: JSON.stringify(version),
|
|
},
|
|
};
|
|
});
|