@charlesharris/cli@0.2.0
latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
76%
Published
8 months ago (0.2.0)
import { defineConfig } from "npm:tsup@^6.6.0"; const isDev = process.env.npm_lifecycle_event === "dev"; export default defineConfig({ clean: true, dts: true, entry: ["index.ts"], format: ["esm"], minify: !isDev, metafile: !isDev, sourcemap: true, target: "esnext", outDir: "dist", onSuccess: isDev ? "node dist/index.js" : undefined, });