2026-10-03 10:36:03 +00:00
|
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
|
import { defineConfig } from "vite";
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react(), tailwindcss()],
|
|
|
|
|
server: {
|
2026-10-05 10:02:04 +00:00
|
|
|
host: true,
|
|
|
|
|
//port: 5173,
|
|
|
|
|
//strictPort: true,
|
2026-10-03 10:36:03 +00:00
|
|
|
proxy: { "/api": process.env.API_PROXY_TARGET ?? "http://127.0.0.1:3001" },
|
|
|
|
|
fs: { strict: true },
|
|
|
|
|
},
|
|
|
|
|
resolve: { dedupe: ["react", "react-dom"] },
|
|
|
|
|
});
|