OpenACP/tsup.config.ts
0xmrpeter dae1bfdebc feat: add testing entry and path mapping for TypeScript configuration
- Added a new entry for 'testing' in tsup.config.ts to include src/testing.ts.
- Updated tsconfig.json in the plugin-sdk package to include a path mapping for '@openacp/cli/testing' pointing to the generated testing type definition.
2026-04-01 17:25:11 +07:00

18 lines
324 B
TypeScript

import { defineConfig } from 'tsup'
export default defineConfig({
entry: {
cli: 'src/cli.ts',
index: 'src/index.ts',
testing: 'src/testing.ts',
},
format: ['esm'],
target: 'node20',
platform: 'node',
splitting: false,
sourcemap: true,
dts: true,
clean: true,
outDir: 'dist-publish/dist',
})