-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Description
Attach (recommended) or Link to PDF file
No PDF required
Web browser and its version
- Prebuilt Version of PDFJS
Operating system and its version
Windows 11
PDF.js version
5.4.530
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
- Create an example Angular App
- Add pdfjs-dist as dependency
- Add the pdf_viewer.css in the styles array of the angular.json
- Build app
What is the expected behavior?
All Images that are referenced by the css should be bundled
What went wrong?
The following images are missing from pdfjs-dist and causing a compile error.
images/checkmark.svg
images/treeitem-expanded.svg
images/treeitem-collapsed.svg
images/pages_viewButton.svg
images/pages_viewArrow.svg
images/toolbarButton-zoomIn.svg
images/toolbarButton-currentOutlineItem.svg
images/toolbarButton-viewOutline.svg
images/toolbarButton-viewAttachments.svg
images/toolbarButton-viewLayers.svg
images/toolbarButton-pageDown.svg
images/toolbarButton-pageDown.svg
images/pages_closeButton.svg
images/pages_selected.svg
Link to a viewer
No response
Additional context
When searching for closed issues related to missing images in your Repo there are some findings. I think a simple integration test with pdfjs-dist could help to discover these pre release?