React PDF Kit Worker Config

Override the pdfjs-dist version and configure the PDF.js worker URL for @react-pdf-kit/viewer (>=2.0.0 <3.0.0) via the RPConfig workerUrl prop, with Vite, Next.js Turbopack, and webpack recipes. The default needs no setup.

react-pdf-kit 535dc59 5.6 KB Updated

File contents

react-pdf-kit/agent-skills/tree/main/skills/react-pdf-kit-worker-config commit 535dc59e14

Frequently asked questions

npx skillmds@latest add react-pdf-kit/react-pdf-kit-worker-config