Skip to content

Conversation

@lhoju0158
Copy link
Member

@lhoju0158 lhoju0158 commented Jun 4, 2025

설명
복습페이지에 PDF 기능 추가했습니다

  • PDF 렌더링의 경우 무거운 연산이라, 웹 워커를 이용해서 처리한다고 합니다. 따라서 Js 파일경로를 명시해야 합니다.
pdfjs.GlobalWorkerOptions.workerSrc = new URL(
  "pdfjs-dist/build/pdf.worker.min.mjs",
  import.meta.url
).toString();
  • 버전 충돌 위험이 있어서 pdfjs-dist는 4.8.69버전을 사용해주세요. pakcage.json에서 버전 확인할 수 있습니다.

체크리스트

  • npm i
  • 코드 리뷰

@lhoju0158 lhoju0158 marked this pull request as ready for review June 4, 2025 06:59
@lhoju0158 lhoju0158 merged commit a2464b2 into main Jun 4, 2025
@lhoju0158 lhoju0158 self-assigned this Jun 4, 2025
@lhoju0158 lhoju0158 deleted the ICC-61-reference-pages branch June 11, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants