Skip to content

fix: 补 html2pdf.js 依赖到 package.json#215

Open
RedInn7 wants to merge 1 commit into
mainfrom
fix/add-html2pdf-dep
Open

fix: 补 html2pdf.js 依赖到 package.json#215
RedInn7 wants to merge 1 commit into
mainfrom
fix/add-html2pdf-dep

Conversation

@RedInn7

@RedInn7 RedInn7 commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • school-positioning-result.jsx 用 dynamic import('html2pdf.js') 但 package.json 没声明依赖
  • 本地 build 能过是因为 node_modules 里碰巧有,CI 全新 npm install 失败
  • 补依赖到 package.json + package-lock.json

Test plan

  • 本地 npm run build 通过
  • 合入后 GitHub Actions Deploy Docusaurus workflow 通过

school-positioning-result.jsx 用 dynamic import 'html2pdf.js' 但 package.json 没声明依赖。本地 build 能过是因为 node_modules 里碰巧有,CI 全新 install 失败。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants