web-custom-profile
Verified@morlay/web-custom-profile · v0.0.4 · MIT
Dev-only dsh profile bundle: mounts @morlay/dsh-client-modules (our vite + federated prebundle frontend chain) and disables the upstream module-table rows it replaces — shared by `dshdev web` and `dshdev desktop`.
Install
dsh plugin add @morlay/web-custom-profile Confirm the layer applied with dsh --profile default --dump-config — see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Tags
Readme
@morlay/web-custom-profile
前端装配层:把 @morlay/dsh-client-modules 插成行,并停用被它取代的上游行(模块表 modules、
client-hmr、frontend-static)。
- 两种形态都要它:dev(
dshdev web/dshdev desktop)由工具按dsh.bundle.patch挂在 patch 栈顶; 打包形态随 app 的dsh.profile.bundles进 profile——否则页面会落到上游的静态前端产物上,而产物里并没有它。 - 它是纯数据包(只有 patch / locale / icon,没有源码入口),所以清单不是 tsdown 钩子写回的:
build脚本就是一行pnpm exec dshdev manifest,走同一份推导——出口按文件存在性补、engines.dsh按DEEPSEEK_HARNESS_VERSION写(理由见how-to-write.md的「包出口」)。手改这两段会在下次just build被覆盖。 - 前端链路的设计与判据见 dsh-client-modules 的设计记录。