Services: Admin-Compliance, Backend-Compliance, AI-Compliance-SDK, Consent-SDK, Developer-Portal, PCA-Platform, DSMS Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
397 B
TypeScript
15 lines
397 B
TypeScript
import { defineConfig } from 'tsup'
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts', 'src/hooks.ts', 'src/components.ts'],
|
|
format: ['cjs', 'esm'],
|
|
dts: true,
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
external: ['react', 'react-dom', '@breakpilot/compliance-sdk-core', '@breakpilot/compliance-sdk-types'],
|
|
esbuildOptions(options) {
|
|
options.jsx = 'automatic'
|
|
},
|
|
})
|