v3.0.2
🚀 The component now is standalone and does not need any prebuilt of PDF.js.
[email protected]
All needed source files are already included in package from PDF.js v5.4.624 release
Works with cross-origin documents
Thank you guys for your valuable comments ❤️
This release contains breaking changes:
- Removed
viewer-pathattribute, the component does not need external PDF.js prebuild anymore - Removed
nameddest,disable-worker,text-layer,disable-font-face,disable-range,disable-stream,disable-auto-fetch,verbosity- not necessary for the production build - CDN URL changed to
https://cdn.jsdelivr.net/npm/pdfjs-viewer-element/dist/pdfjs-viewer-element.js
If you still need some removed/changed features you can use v2 release and v2 package