Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
35
vendor/ruvector/npm/packages/ruvbot/tsup.config.ts
vendored
Normal file
35
vendor/ruvector/npm/packages/ruvbot/tsup.config.ts
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig([
|
||||
// Main bundle
|
||||
{
|
||||
entry: ['src/index.ts'],
|
||||
format: ['cjs', 'esm'],
|
||||
dts: true,
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
splitting: false,
|
||||
treeshake: true,
|
||||
minify: false,
|
||||
target: 'node18',
|
||||
outDir: 'dist',
|
||||
},
|
||||
// Subpath exports
|
||||
{
|
||||
entry: {
|
||||
'core/index': 'src/core/index.ts',
|
||||
'learning/index': 'src/learning/index.ts',
|
||||
'skills/index': 'src/skills/index.ts',
|
||||
'integrations/index': 'src/integrations/index.ts',
|
||||
'api/index': 'src/api/index.ts',
|
||||
'cli/index': 'src/cli/index.ts',
|
||||
},
|
||||
format: ['cjs', 'esm'],
|
||||
dts: true,
|
||||
sourcemap: true,
|
||||
splitting: false,
|
||||
treeshake: true,
|
||||
target: 'node18',
|
||||
outDir: 'dist',
|
||||
},
|
||||
]);
|
||||
Reference in New Issue
Block a user