1
0
forked from baron/baron-sso

devfront 구동 검증

This commit is contained in:
2026-05-11 13:19:35 +09:00
parent 843b4100ad
commit 46b661cff0
5 changed files with 157 additions and 2 deletions

View File

@@ -1,8 +1,12 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
const buildOutDir =
process.env.ORGFRONT_BUILD_OUT_DIR ?? "/tmp/baron-sso-orgfront-dist";
const defaultAllowedHosts = [
"baron-orgchart.hmac.kr",
"sorg.hmac.kr",
"sdev.hmac.kr",
"localhost",
"172.16.10.176",
@@ -33,6 +37,13 @@ const allowedHosts = Array.from(
export default defineConfig({
plugins: [react()],
cacheDir:
process.env.ORGFRONT_VITE_CACHE_DIR ??
"/tmp/baron-sso-orgfront-vite-cache",
build: {
outDir: buildOutDir,
emptyOutDir: true,
},
server: {
host: "0.0.0.0",
port: 5175,