forked from grandamenium/cortextos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsup.config.ts
More file actions
27 lines (26 loc) · 898 Bytes
/
Copy pathtsup.config.ts
File metadata and controls
27 lines (26 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig } from 'tsup';
export default defineConfig({
entry: {
cli: 'src/cli/index.ts',
daemon: 'src/daemon/index.ts',
'hooks/hook-permission-telegram': 'src/hooks/hook-permission-telegram.ts',
'hooks/hook-ask-telegram': 'src/hooks/hook-ask-telegram.ts',
'hooks/hook-planmode-telegram': 'src/hooks/hook-planmode-telegram.ts',
'hooks/hook-crash-alert': 'src/hooks/hook-crash-alert.ts',
'hooks/hook-compact-telegram': 'src/hooks/hook-compact-telegram.ts',
'hooks/hook-extract-facts': 'src/hooks/hook-extract-facts.ts',
'hooks/hook-idle-flag': 'src/hooks/hook-idle-flag.ts',
'hooks/hook-context-status': 'src/hooks/hook-context-status.ts',
},
format: ['cjs'],
target: 'node20',
clean: true,
splitting: false,
sourcemap: true,
dts: false,
shims: true,
banner: {
js: '#!/usr/bin/env node',
},
external: ['node-pty'],
});