mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
34 lines
822 B
TypeScript
34 lines
822 B
TypeScript
import { defineConfig } from 'tsdown'
|
|
|
|
const shared = {
|
|
format: 'esm' as const,
|
|
platform: 'node' as const,
|
|
target: 'es2024',
|
|
fixedExtension: false,
|
|
dts: false,
|
|
deps: {
|
|
neverBundle: [/^@deepseek-ai\//],
|
|
onlyBundle: false as const,
|
|
},
|
|
}
|
|
|
|
/** Compile measured benchmark workers while keeping workspace packages on their built `lib` entries. */
|
|
export default defineConfig([
|
|
{
|
|
...shared,
|
|
entry: { 'session-open.worker': 'session-open/session-open.worker.ts' },
|
|
outDir: '.dsh-build/session-open',
|
|
clean: true,
|
|
tsconfig: 'tsconfig.host.json',
|
|
},
|
|
{
|
|
...shared,
|
|
entry: {
|
|
'conversation-fold.worker': 'conversation-fold/conversation-fold.worker.client.ts',
|
|
},
|
|
outDir: '.dsh-build/conversation-fold',
|
|
clean: true,
|
|
tsconfig: 'tsconfig.client.json',
|
|
},
|
|
])
|