This commit is contained in:
2026-08-29 16:20:33 +08:00
commit cba31428dc
52 changed files with 6553 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { defineConfig } from 'tsdown';
export default defineConfig([
{
entry: ['src/index.js', 'src/api.js', 'src/settings.js', 'src/storage.js', 'src/data-source/*.js', 'src/position/*.js'],
format: ['esm'],
outDir: 'lib',
clean: true,
outExtensions: () => ({ js: '.js' }),
},
{
entry: ['src/client/index.js'],
format: ['cjs'],
outDir: 'lib/client',
outExtensions: () => ({ js: '.js' }),
external: [
'react',
'react/jsx-runtime',
'@deepseek-ai/dsh-client-runtime',
'@deepseek-ai/dsh-client-ui-slots',
'@deepseek-ai/dsh-client-connection',
],
},
]);