📝 摘要
插件 add 静默丢 bundles 条目等生态问题与建议
#1904 · Semidia · 2026-08-15
插件 add 静默丢 bundles 条目等生态问题与建议
背景 在 Windows + 自建 profile 上深度使用 DSH web 时,遇到并定位了几个值得官方关注的问题。每条都附了可复现步骤与根因,欢迎指正。 1. `dsh plugin add` 会静默丢失 `dsh.profile.bundles` 中的已有条目(Bug) · 现象:执行 `dsh plugin --profile web add link:D:/xxx` 安装新 bundle 后,`profiles/web/package.json` 的 `dsh.profile.bundles` 数组中原有条目被移除(实测丢失了 `@dsh-polyglot/bundle` 和 `d……
节选自讨论正文开头,完整内容见原文