watson-developer-cloud / discovery-components

IBM Watson Discovery components
https://watson-developer-cloud.github.io/discovery-components/storybook
Apache License 2.0
22 stars 38 forks source link

fix: resolve pdfjs-4 build errors #578

Closed noah-eigenfeld closed 1 month ago

noah-eigenfeld commented 2 months ago

What do these changes do/fix?

Updates the PdfViewerTextLayer such that it builds without producing any errors

How do you test/verify these changes?

  1. yarn run build in the components package runs successfully
  2. When running storybook, stories that use the PDF viewer are rendered correctly, and highlighting still works

Have you documented your changes (if necessary)?

Are there any breaking changes included in this pull request?

noah-eigenfeld commented 2 months ago

I'm expecting the builds on this PR to fail until @dorianmiller's test updates are able to be merged into Javier's branch, and then this one is updated