Replace tsup with tsdown, add shebang for CLI

This commit is contained in:
Aman Varshney
2025-04-28 04:36:43 +05:30
parent 5ce1c9a28c
commit 49f1fa135f
5 changed files with 198 additions and 213 deletions

10
apps/cli/tsdown.config.ts Normal file
View File

@@ -0,0 +1,10 @@
import { defineConfig } from "tsdown";
export default defineConfig({
entry: ["src/index.ts"],
format: ["esm"],
clean: true,
shims: true,
minify: true,
outDir: "dist",
});