import { defineConfig } from "tsup"; export default defineConfig({ entry: { index: "src/index.ts" }, format: ["esm"], target: "node20", platform: "node", clean: false, // dist/skill 을 지우면 안 된다(bundle-skill 이 먼저 채운다) dts: false, sourcemap: false, minify: false, // 워크스페이스 패키지는 번들에 넣는다 — 사용자가 @designpaca/core 를 따로 받게 하지 않는다 noExternal: ["@designpaca/core"], banner: { js: "#!/usr/bin/env node" }, });