mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-11 23:38:27 +00:00
* 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>
23 lines
454 B
TypeScript
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);
|