

The PDF.js files are large and should be minified for production.

This will generate pdf.js and in the build/generic/build/ directory (respectively build/generic-legacy/build/).īoth scripts are needed but only pdf.js needs to be included since willīe loaded by pdf.js. If you need to support older browsers, run: $ gulp generic-legacy In order to bundle all src/ files into two production scripts and build the generic It is also possible to view all test PDF files on the right side by opening:

PDF.js is community-driven and supported by Mozilla. PDF.js is a Portable Document Format (PDF) viewer that is built with HTML5.
