Files
zeekay 23aa07692d Integration packages ship compiled output only [skip ci]
canva, canvas-lms, cards, docusign, epic, imanage, procore, quickbooks,
shopify, workday and teams publish dist without source maps or src. A
watch build still writes maps for local debugging.
2026-09-30 01:33:36 -07:00

14 lines
495 B
TypeScript

import { defineConfig } from 'tsup';
// Declarations come from `tsc -p tsconfig.build.json`, as in @hanzo/cards: tsup's
// dts step sets `baseUrl`, which TypeScript 6 rejects (TS5101).
export default defineConfig({
// `index` is the library entry; `server` is the runnable messaging endpoint
// (`node dist/server.js` / the `hanzo-teams` bin).
entry: { index: 'src/index.ts', server: 'src/server.ts' },
format: ['cjs', 'esm'],
splitting: false,
sourcemap: false,
clean: true,
});