MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / buildFrontendEnv

Function buildFrontendEnv

scripts/static-build.mjs:14–22  ·  view source on GitHub ↗
(config, env = process.env)

Source from the content-addressed store, hash-verified

12import { buildNpmScriptCommand } from "./dev-safe.mjs";
13
14export function buildFrontendEnv(config, env = process.env) {
15 return {
16 ...env,
17 VITE_SESSION_API_KEY: "",
18 ...(config.viteWorkingDir
19 ? { VITE_WORKING_DIR: config.viteWorkingDir }
20 : {}),
21 };
22}
23
24export function buildFrontend(config, args = {}) {
25 const buildDir = join(config.canvasPath, "build");

Callers 2

dev-static.test.tsFile · 0.90
buildFrontendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected