Skip to content

v0.13.1

Choose a tag to compare

@bbqisbbq bbqisbbq released this 04 Sep 10:27
· 32 commits to main since this release

v0.13.1 — client bundle minify

  • 客户端 bundle 压缩(minify)lib/client.js./client 导出)由 1.06MB → 0.58MB(gzip ~193KB),浏览器加载更快。
  • 为什么:CodeMirror 6 + Lezer markdown 把未压缩产物推到 1MB 以上,超过插件目录注册表(如 dsh.pub 收录校验)经 GitHub Contents API 检查的 1MB 上限,导致 dsh.pub 收录 PR 首轮校验失败(invalid_file)。开启 tsdown minify 后校验全绿,dsh.pub PR #83 已合并。
  • 构建配置:tsdown.client.config.tsminify: true)。

安装

# npm(0.13.1 尚未发布到 npm registry 时为 0.13.0;本包为 GitHub Release 预构建 tarball)
dsh plugin --profile web add dsh-tiddlywiki

# GitHub 源码(已含预构建 lib)
dsh plugin --profile web add github:bbqisbbq/dsh-tiddlywiki

本 Release 附带的 dsh-tiddlywiki-0.13.1.tgznpm pack 预构建产物(含 lib/ 运行产物 + cordis.patch.yml + README + LICENSE)。