You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
359 B

import { defineConfig } from "vite";
import reactRefresh from "@vitejs/plugin-react-refresh";
import svgr from "@svgr/rollup";
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: 12000,
},
plugins: [
reactRefresh(),
Object.assign(
svgr({
ref: true,
svgo: false,
}),
{ enforce: "pre" } as const,
),
],
});