chatgpt-api/tsup.config.ts

22 wiersze
381 B
TypeScript

import { defineConfig } from 'tsup'
export default defineConfig([
{
entry: [
'src/index.ts',
'src/sdks/ai-sdk.ts',
'src/sdks/dexter.ts',
'src/sdks/genkit.ts'
],
outDir: 'dist',
target: 'node18',
platform: 'node',
format: ['esm'],
splitting: false,
sourcemap: true,
minify: false,
shims: true,
dts: true
}
])