Base Up And Down (auth, thème, dialogues) + moteur fleet (script distant POSIX, analyse pull + comparaison d'images, mise à jour d'une stack), interface de suivi. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
11 lines
438 B
TypeScript
11 lines
438 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
// Le build est embarqué dans le binaire Go (web/dist).
|
|
build: { outDir: "../web/dist", emptyOutDir: true },
|
|
// `npm run dev` : l'API Go tourne sur :8080 (les routes /auth et /api passent par le proxy).
|
|
server: { proxy: { "/api": "http://localhost:8080", "/auth": "http://localhost:8080" } },
|
|
});
|