UNPKG

traceprompt-node

Version:

Client-side encrypted, audit-ready logging for LLM applications

20 lines (18 loc) 365 B
import { defineConfig } from "tsup"; export default defineConfig({ entry: ["src/index.ts"], format: ["cjs", "esm"], dts: true, splitting: false, sourcemap: true, clean: true, minify: false, treeshake: true, target: "node18", outDir: "dist", outExtension({ format }) { return { js: format === "cjs" ? ".js" : ".mjs", }; }, });