diff --git a/.gitignore b/.gitignore index 3df89f9..bbee398 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ go.work.sum # key files *.pem + +dist/ diff --git a/web/vite.config.ts b/web/vite.config.ts index 8b0f57b..f3dc32e 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -1,7 +1,11 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; // https://vite.dev/config/ export default defineConfig({ plugins: [react()], -}) + build: { + outDir: "../dist", + emptyOutDir: true, + }, +});