Initial commit: breakpilot-compliance - Compliance SDK Platform
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>
This commit is contained in:
44
consent-sdk/tsup.config.ts
Normal file
44
consent-sdk/tsup.config.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig([
|
||||
// Main entry
|
||||
{
|
||||
entry: ['src/index.ts'],
|
||||
format: ['cjs', 'esm'],
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
outDir: 'dist',
|
||||
external: ['react', 'react-dom', 'vue'],
|
||||
},
|
||||
// React entry
|
||||
{
|
||||
entry: ['src/react/index.tsx'],
|
||||
format: ['cjs', 'esm'],
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
outDir: 'dist/react',
|
||||
external: ['react', 'react-dom'],
|
||||
esbuildOptions(options) {
|
||||
options.jsx = 'automatic';
|
||||
},
|
||||
},
|
||||
// Vue entry
|
||||
{
|
||||
entry: ['src/vue/index.ts'],
|
||||
format: ['cjs', 'esm'],
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
outDir: 'dist/vue',
|
||||
external: ['vue'],
|
||||
},
|
||||
// Angular entry
|
||||
{
|
||||
entry: ['src/angular/index.ts'],
|
||||
format: ['cjs', 'esm'],
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
outDir: 'dist/angular',
|
||||
external: ['@angular/core', '@angular/common', 'rxjs'],
|
||||
},
|
||||
]);
|
||||
Reference in New Issue
Block a user