pdf.js/external/dist
Michael Wu acfb54a836 Fix pdf_viewer definitions
Current pdf_viewer definitions result in errors like the following when
trying to use them in a ts project:

[error] TypeScript error
node_modules/.pnpm/pdfjs-dist@2.10.377/node_modules/pdfjs-dist/web/pdf_viewer.d.ts:1:15
- error TS2691: An import path cannot end with a '.d.ts' extension.
Consider importing 'pdfjs-dist/types/web/pdf_viewer.component.js'
instead.

1 export * from "pdfjs-dist/types/web/pdf_viewer.component.d.ts";

Import/export statements in typescript should not include file extensions.
2021-08-20 12:23:43 -04:00
..
legacy Fix pdf_viewer definitions 2021-08-20 12:23:43 -04:00
lib Add a (basic) TypeScript definitions for the viewer components (issue 13267) 2021-06-19 16:24:34 +02:00
web Fix pdf_viewer definitions 2021-08-20 12:23:43 -04:00
CODE_OF_CONDUCT.md Include the code of conduct for pdfjs-dist too 2019-03-30 19:00:57 +01:00
README.md [api-minor] Rename -es5 to -legacy, to reduce confusion over what's actually supported (issue 12976) 2021-02-10 16:01:59 +01:00
webpack.js making webpack aware of the change inside of the worker file and hashing its name on build accordingly 2021-07-08 13:32:58 -03:00

PDF.js

PDF.js is a Portable Document Format (PDF) library that is built with HTML5. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs.

This is a pre-built version of the PDF.js source code. It is automatically generated by the build scripts.

For usage with older browsers or environments, without support for modern features such as e.g. async/await, ReadableStream, optional chaining, and nullish coalescing; please see the legacy folder.

See https://github.com/mozilla/pdf.js for learning and contributing.