mirror of
https://github.com/different-ai/openwork
synced 2026-04-26 01:25:10 +02:00
9 lines
262 B
JavaScript
9 lines
262 B
JavaScript
import { execSync } from "node:child_process";
|
|
|
|
const isVercel = Boolean(process.env.VERCEL);
|
|
const command = isVercel
|
|
? "pnpm --dir services/openwork-share run build"
|
|
: "pnpm --filter @different-ai/openwork build";
|
|
|
|
execSync(command, { stdio: "inherit" });
|