Skip to content
Discussion options

You must be logged in to vote

Hey! Yeah, wording isn't exactly the most fortunate on that one. They are technically older than something else out there but can't be considered old 😅 Any suggestions?

My decision here isn't really mine - Mozilla's team behind PDF.js is widely using bleeding edge language features.

At the same time, their legacy build offers worse performance and is simply bigger, with "normal" build already being enormous.

That's why I'm suggesting to process PDF.js on your own with your bundler to increase backwards compatibility.

Alternatively, you may try your luck with aliases to rewrite pdfjs-dist/* to pdfjs-dist/legacy/*.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SiKreuz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants