Files
penguin-harness/packages/server/tsup.config.ts
T
2026-08-04 16:57:28 +08:00

13 lines
429 B
TypeScript

import { defineConfig } from "tsup";
export default defineConfig({
// Explicitly name entries to preserve the dist/api/types.js and dist/lock.js subpaths
// (exports "./api" and "./lock" point to them; lock is side-effect-free for pre-checks).
entry: { index: "src/index.ts", "api/types": "src/api/types.ts", lock: "src/lock.ts" },
format: ["esm"],
target: "node22",
dts: true,
clean: true,
sourcemap: true,
});