Pdfjs Impl Bundler Integration

Use when integrating pdfjs-dist with webpack, Vite, Rollup, Next.js, or Nuxt.js build systems. Prevents worker loading failures caused by incorrect bundler configuration for the pdf.worker.mjs file. Covers webpack worker-loader/asset module config, Vite import.meta.url pattern, Rollup config, CMap/font file copying, and tree-shaking considerations. Keywords: webpack, vite, rollup, Next.js, bundler, worker-loader, import.meta.url, PDF.js with Vite, PDF.js with webpack, worker not loading, bundler configuration, Nuxt.js.

Impertio-Studio Updated 203 repo stars
15 Deterministic Skills for PDF.js

File contents

Impertio-Studio/PDFjs-Claude-Skill-Package commit e2805264bd

Frequently asked questions

npx get-skill add impertio-studio/pdfjs-impl-bundler-integration