ankesu/dsh-client-url-shim ↗★ 0
dsh-client-url-shim
Browser url shim for DeepSeek Harness client bundles: a tsdown plugin that inlines a node:url polyfill so dependencies like @pixi/utils build and run in the web module table. 面向插件开发者的构建工具;解决依赖在网页模块表中运行问题。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
Usage / 用法
// tsdown.config.ts
import { defineConfig } from 'tsdown'
import { urlShim } from 'dsh-client-url-shim'
export default defineConfig({
entry: { client: 'src/client/index.ts' },
format: 'cjs',
platform: 'browser',
plugins: [urlShim()],
})
Or add the plugin object directly to an existing tsdown plugins array
(see example/tsdown.config.ts for a full DSH plugin client build).