mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
32 lines
880 B
TypeScript
32 lines
880 B
TypeScript
import { defineConfig } from 'tsdown'
|
|
|
|
/**
|
|
* Node-only backend. The Win32 dialog worker builds as its own CJS entry
|
|
* (mirroring dsh-workflow-worker-thread's worker): path-loaded by the driver,
|
|
* inlining the dialog logic while koffi stays an external native require.
|
|
*/
|
|
export default defineConfig([
|
|
{
|
|
entry: ['lib/types/index.js', 'lib/types/invariant.js'],
|
|
outDir: 'lib',
|
|
format: ['esm'],
|
|
platform: 'node',
|
|
target: 'es2024',
|
|
fixedExtension: false,
|
|
dts: false,
|
|
clean: false,
|
|
},
|
|
{
|
|
// The artifact is lib/worker.cjs (the ./worker export the workspace
|
|
// constraint keys on), bundled from the descriptive source entry.
|
|
entry: { worker: 'lib/types/win32-dialog-worker.js' },
|
|
outDir: 'lib',
|
|
format: ['cjs'],
|
|
platform: 'node',
|
|
target: 'es2024',
|
|
fixedExtension: false,
|
|
dts: false,
|
|
clean: false,
|
|
},
|
|
])
|