core/packages/sdk/tsup.config.ts
Harshith Mullapudi 54e535d57d
Feat: v2 (#12)
* Feat: v2

* feat: add chat functionality

* First cut: integrations

* Feat: add conversation API

* Enhance conversation handling and memory management

* Feat: added conversation

---------

Co-authored-by: Manoj K <saimanoj58@gmail.com>
2025-07-08 22:41:00 +05:30

23 lines
454 B
TypeScript

import { Options, defineConfig as defineConfigTSUP } from 'tsup';
const options: Options = {
name: 'main',
config: 'tsconfig.json',
entry: ['./src/index.ts'],
outDir: './dist',
platform: 'node',
format: ['cjs', 'esm'],
legacyOutput: false,
sourcemap: true,
clean: true,
bundle: true,
splitting: false,
dts: true,
treeshake: {
preset: 'recommended',
},
external: ['axios'],
};
export default defineConfigTSUP(options);