Files
archie/ui/vite.config.ts
T
sam 7f1da81d52 feat(tools): a capture-intake sender for exercising the Events surfaces
Posts to /webhooks/capture/{source} with a realistic GitHub, Sentry, form or
large payload (or an exact body), reads the capture back so a silent drop is
visible immediately, and names the intake's rate and size limits when it
hits them. Wired as task webhook:send.
2026-09-21 01:10:30 +10:00

34 lines
882 B
TypeScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [vue(), tailwindcss()],
resolve: {
alias: {
"@": new URL("./src", import.meta.url).pathname,
},
},
base: "/",
build: {
outDir: "dist",
emptyOutDir: true,
rollupOptions: {
output: {
entryFileNames: "assets/[name].js",
chunkFileNames: "assets/[name].js",
assetFileNames: "assets/[name].[ext]",
},
},
},
server: {
// Proxies the API to a locally running archie-ui (the process that serves
// the dashboard) so the frontend can be developed without rebuilding Go.
proxy: {
"/api": "http://127.0.0.1:8484",
"/health": "http://127.0.0.1:8484",
"/events": { target: "http://127.0.0.1:8484", ws: true },
},
},
});