forked from baron/baron-sso
devfront 구동 검증
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user