(config, env = process.env)
| 12 | import { buildNpmScriptCommand } from "./dev-safe.mjs"; |
| 13 | |
| 14 | export 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 | |
| 24 | export function buildFrontend(config, args = {}) { |
| 25 | const buildDir = join(config.canvasPath, "build"); |
no outgoing calls
no test coverage detected