OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.
TypeScript
import { defineConfig } from "tsup";
export default defineConfig({
entry: { cli: "src/cli.ts" },
format: ["cjs"],
platform: "node",
target: "node18",
// Workspace source packages are consumed as TS and must be inlined into the
// standalone CLI bundle (only Node built-ins stay external).
noExternal: ["@openreel/agent", "@openreel/core"],
clean: true,
sourcemap: true,
});