Commit Graph
5 Commits
Author SHA1 Message Date
wuzilongandCursor 020fbe1b0e feat(web-admin): force a refresh when a newer build is deployed.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 13:53:15 +08:00
zlwuandCursor f872333df6 fix(web-admin): polyfill Buffer/global for contract Word export in Vite
html-to-docx still reads Node globals after Vite rebundles; inject buffer polyfill, map global to globalThis, and alias the package to the browser build.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 15:06:20 +08:00
zlwuandCursor 8bbc716d17 fix(web-admin): use html-to-docx browser build and inline images for Word export
Vite was resolving the Node ESM entry which needs Buffer/global; switch to the browser bundle and pre-convert images to data URLs so seals and watermarks embed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 14:59:58 +08:00
zlwu b4a49183db 提交 2026-07-04 08:21:06 +08:00
zlwuandCursor c87732fcd5 将 web-admin 从子模块改为仓库内普通目录,便于单仓克隆与维护。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 16:41:08 +08:00