Files
jellarr/esbuild.ts
Venkatesan Ravi 06fc3666ab refactor
2025-10-31 21:09:08 -07:00

20 lines
344 B
TypeScript

import { build } from "esbuild";
async function main() {
await build({
entryPoints: ["./src/cli/index.ts"],
bundle: true,
sourcemap: "inline",
platform: "node",
target: "node22",
format: "cjs",
outfile: "bundle.cjs",
logLevel: "info",
});
}
main().catch((e) => {
console.error(e);
process.exit(1);
});