fix(registry): registry 打包补上 mermaid 懒加载 chunk
package.json files 白名单与 tsdown 产物都含 lib/client-mermaid.js(+ .map),registry 通道的复制清单却缺它——经 dsh registry 安装后 Markdown 预览首次加载 mermaid 会拿到 /sidebar/bundle 404。与 terminal/editor 两 chunk 同款补齐。
This commit is contained in:
@@ -35,6 +35,8 @@ const files = [
|
|||||||
'lib/client-terminal.js.map',
|
'lib/client-terminal.js.map',
|
||||||
'lib/client-editor.js',
|
'lib/client-editor.js',
|
||||||
'lib/client-editor.js.map',
|
'lib/client-editor.js.map',
|
||||||
|
'lib/client-mermaid.js',
|
||||||
|
'lib/client-mermaid.js.map',
|
||||||
'README.md',
|
'README.md',
|
||||||
'LICENSE',
|
'LICENSE',
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user