mirror of
https://github.com/zhu1090093659/dsh-web.git
synced 2026-09-28 14:24:03 +08:00
issue #7:profile 非 workspace 环境下聚合包 workspace:* 依赖会回退 拉取 npm 版本,旧文档的 link 安装方式叠加错 scope 链接导致宿主已 挂载但 UI 不显示。docs/plugins.md 与 README 补充 link-profile.mjs 推荐路径与回退说明;插件模板 cordis.patch.yml/package.json/ tsdown.config.ts 的包名统一为 @linxin666 家族 scope。
12 lines
528 B
TypeScript
12 lines
528 B
TypeScript
/**
|
|
* Standalone tsdown config for the __NAME__ plugin skeleton.
|
|
*
|
|
* Uses the repo's shared client-bundle preset (shared/tsdown.client.ts —
|
|
* closure-factory artifact for window.__ModuleLoader__, CSS Modules inlined,
|
|
* externals resolved through the loader module table). The node half builds
|
|
* from src (tsdown compiles TS directly) and types ship from lib/types (tsc).
|
|
*/
|
|
import { clientBundle } from '../../shared/tsdown.client.ts'
|
|
|
|
export default clientBundle('@linxin666/dsh-client-ui-__NAME__', ['src/index.ts'])
|