You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For usage with older browsers or environments, without support for modern features such as optional chaining, nullish coalescing, and private class fields/methods; please see the legacy/ folder.
After npm install pdfjs-dist and import pdfjs-dist/legacy/build/pdf.js, it still has modern features.
I also searched on the GitHub repo, it seems there are no modern features in the legacy build:
According to the README, these features should not be included in the legacy build.
Is there something wrong with my operation?
Configuration:
PDF.js version: 3.6.172
Is a browser extension: no
Steps to reproduce the problem:
npm install pdfjs-dist
open node_module/pdfjs-dist/legacy/build/pdf.js and check the code
The text was updated successfully, but these errors were encountered:
From https://github.com/mozilla/pdfjs-dist :
After
npm install pdfjs-dist
and importpdfjs-dist/legacy/build/pdf.js
, it still has modern features.I also searched on the GitHub repo, it seems there are no modern features in the legacy build:
According to the README, these features should not be included in the legacy build.
Is there something wrong with my operation?
Configuration:
Steps to reproduce the problem:
node_module/pdfjs-dist/legacy/build/pdf.js
and check the codeThe text was updated successfully, but these errors were encountered: