mirror of
https://github.com/RGJorge/ContainerFlow.git
synced 2026-08-03 07:21:42 +02:00
23 lines
458 B
TypeScript
23 lines
458 B
TypeScript
import { defineConfig } from "vite";
|
|||
|
|
import react from "@vitejs/plugin-react";
|
||
|
|
import tailwindcss from "@tailwindcss/vite";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [react(), tailwindcss()],
|
||
|
|
root: "src/client",
|
||
|
|
build: {
|
||
|
|
outDir: "../../dist",
|
||
|
|
emptyOutDir: true,
|
||
|
|
},
|
||
|
|
server: {
|
||
|
|
port: 5174,
|
||
|
|
proxy: {
|
||
|
|
"/api": "http://localhost:9470",
|
||
|
|
"/ws": {
|
||
|
|
target: "http://localhost:9470",
|
||
|
|
ws: true,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|