From e70dea65a993d7e592e2c5a3df1ef3a75ccc3747 Mon Sep 17 00:00:00 2001 From: QQ Date: Wed, 11 Nov 2026 22:35:38 +0800 Subject: [PATCH] Import tsdown.config.ts --- tsdown.config.ts | 172 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 tsdown.config.ts diff --git a/tsdown.config.ts b/tsdown.config.ts new file mode 100644 index 0000000..d76439b --- /dev/null +++ b/tsdown.config.ts @@ -0,0 +1,172 @@ +/** + * tsdown build for dsh-workspace-groups: the host-half lib (lib/index.js, ESM + * node) plus one browser client bundle (lib/client.js, CJS closure factory). + * + * The client bundle replicates the official DSH client-bundle preset + * (packages/client/tsdown.client.ts, same shape as dsh-better-sidebar and the + * official ui-* client packages): + * - externals resolve through the loader module table at runtime (the + * PLATFORM_MODULES seed list from packages/client/web/src/platform.ts, + * plus the runtime/client exemption), + * - everything else is inlined into the bundle, + * - the purity gate rejects any other @deepseek-ai value import: cross-plugin + * collaboration goes through cordis services / slots, never value imports, + * - CSS Modules compile to hashed class maps and inject