1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00
pdf.js/examples/webpack/README.md
2016-03-04 20:30:36 +01:00

483 B

Overview

Example to demonstrate PDF.js library usage with webpack.

Getting started

Build project and install the example dependencies:

$ gulp dist $ cd examples/webpack $ npm install

To build webpack bundles, run node_modules/.bin/webpack. If you are running a web server, you can observe the build results at http://localhost:8888/examples/webpack/index.html

See main.js and webpack.config.js files. Please notice that PDF.js packaging requires 'entry' loader.