13 lines
310 B
JavaScript
13 lines
310 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig(({ command }) => ({
|
|
// Relative base: frontgen places one artifact at any mount path and injects <base href>.
|
|
base: "./",
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
open: true,
|
|
},
|
|
}));
|