devfront 구동 검증

This commit is contained in:
lectom committed 2026-05-11 13:19:35 +09:00
1 parent 843b4100ad
commit 46b661cff0
5 files changed
+157 -2

No files matched your search

+11
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,