Files
lambada-fiesta-live/vite.config.ts
T
Ichitux f014d41610
CI/CD Deploy / test (push) Successful in 50s
CI/CD Deploy / build-push (push) Successful in 1m20s
CI/CD Deploy / deploy (push) Successful in 16s
Update vite.config.ts
2026-07-31 12:25:54 +02:00

22 lines
513 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
import { componentTagger } from "lovable-tagger";
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
server: {
origin: "http://0.0.0.0:8080",
port: 8080,
hmr: {
overlay: false,
},
},
plugins: [react(), mode === "development" && componentTagger()].filter(Boolean),
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
}));