build(widget): 复制类型声明文件到所有输出目录

将单个 .d.ts 文件复制到多个构建输出目录(cwd.es.d.ts 和 cwd.umd.d.ts),确保不同构建格式都能获得类型支持。
This commit is contained in:
anghunk
2026-02-12 09:53:06 +08:00
parent 7c73a13d8d
commit 0624101e92
5 changed files with 18 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cwd-widget",
"version": "0.1.4-rc-1",
"version": "0.1.4-rc-2",
"description": "Server-free, extremely fast and secure, plug-and-play commenting system based on Cloudflare Workers and the Global Edge Network.",
"type": "module",
"author": "anghunk",