1
0
forked from baron/baron-sso

chore: snapshot local state before dev merge

This commit is contained in:
2026-06-17 21:25:42 +09:00
parent b2808759d2
commit 49560e8a8c
107 changed files with 8958 additions and 939 deletions

View File

@@ -4,6 +4,7 @@ import { defineConfig } from "vite";
const buildOutDir =
process.env.ADMINFRONT_BUILD_OUT_DIR ?? "/tmp/baron-sso-adminfront-dist";
const usePolling = process.env.DEV_SERVER_WATCH_POLLING === "true";
export default defineConfig({
plugins: [react()],
@@ -24,6 +25,7 @@ export default defineConfig({
},
server: {
host: "127.0.0.1",
watch: usePolling ? { interval: 300, usePolling: true } : undefined,
proxy: {
"/api": {
target: process.env.API_PROXY_TARGET || "http://localhost:3000",