mirror of
https://github.com/hanzoai/extension.git
synced 2026-10-31 21:57:06 +00:00
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.
12 lines
349 B
TypeScript
12 lines
349 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
// Declarations come from `tsc -p tsconfig.build.json`, not tsup: tsup's dts step
|
|
// sets `baseUrl`, which TypeScript 6 rejects (TS5101), so it wrote no types.
|
|
export default defineConfig({
|
|
entry: { index: 'src/index.ts' },
|
|
format: ['cjs', 'esm'],
|
|
splitting: false,
|
|
sourcemap: false,
|
|
clean: true,
|
|
});
|