This plugin bundles React 19.2.6 and React DOM 19.2.6 (MIT), lucide-react 1.31.0 (ISC), PDF.js 6.4.299 (Apache-2.0).
Install these packages plus esbuild in a development directory.
Source: source.tsx. Change its PDF.js import to pdfjs-dist/build/pdf.mjs when rebuilding independently.
Build: esbuild assets/source.tsx --bundle --minify --jsx=automatic --outfile=assets/app.js
Copy pdfjs-dist/build/pdf.worker.min.mjs to assets/ alongside app.js.
No Node.js or package installation is required on the WordPress host.

OCR: Tesseract.js 7.0.0 and matching tesseract.js-core, bundled local deu/eng traineddata. Include mailbox-ocr.tsx and replace its development imports with tesseract.js and pdfjs-dist/build/pdf.mjs when rebuilding. All worker/core/language files must stay under assets/ocr; no CDN is required.
