ZoeBuyCourses/zoe-kids-zone-main/vite.config.ts

20 lines
374 B
TypeScript
Raw Permalink Normal View History

2026-01-27 16:47:49 +00:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig(() => ({
server: {
host: "::",
port: 8080,
hmr: {
overlay: false,
},
},
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
}));