mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-11 23:18:26 +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>
21 lines
479 B
TypeScript
21 lines
479 B
TypeScript
import { defineConfig } from 'tsup';
|
|
import { dependencies } from './package.json';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts'],
|
|
format: ['cjs'], // or esm if you're using that
|
|
bundle: true,
|
|
target: 'node16',
|
|
outDir: 'bin',
|
|
splitting: false,
|
|
shims: true,
|
|
clean: true,
|
|
name: 'slack',
|
|
platform: 'node',
|
|
legacyOutput: false,
|
|
noExternal: Object.keys(dependencies || {}), // ⬅️ bundle all deps
|
|
treeshake: {
|
|
preset: 'recommended',
|
|
},
|
|
});
|