Archived
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015kAzS35kMnZNt4YGgJXtfw
22 lines
596 B
TypeScript
22 lines
596 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
main: 'src/app/main.ts',
|
|
seed: 'src/app/seed.ts',
|
|
migrate: 'src/app/migrate.ts',
|
|
// 清运行数据:开发期反复用
|
|
'reset-runs': 'src/app/reset-runs.ts',
|
|
// 只装活动包(不碰治理台配置)—— 开发活动时一天要装十几次
|
|
'install-activities': 'src/app/install-activities.ts',
|
|
},
|
|
format: ['esm'],
|
|
target: 'node22',
|
|
platform: 'node',
|
|
outDir: 'dist',
|
|
clean: true,
|
|
sourcemap: true,
|
|
skipNodeModulesBundle: true,
|
|
tsconfig: '../../tsconfig.node.json',
|
|
});
|