pdf.js/examples
nikolas 4902f9a54a
Update webpack import instructions
This resolves an issue I had when loading pdf.js with webpack. `pdfjsLib` was always `undefined` after the import, and I dug deep into pdf.js's `webpack.js` file to sort out this issue, making all sorts of changes.

I figured out that there was just something wrong with the export/import procedure. After making this change, I now have the full pdfjs object in my webpack application.
2021-05-28 20:46:56 -04:00
..
browserify Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
components Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
image_decoders Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
learning Add direction: ltr; to the canvases used in examples/learning, to ensure correct text rendering (issue 11457) 2020-01-12 12:25:23 +01:00
mobile-viewer Simplify the animationStarted handling in the mobile-viewer/ example 2021-03-12 17:52:58 +01:00
node Enable the ESLint no-var rule in the examples/ folder 2021-03-12 17:52:52 +01:00
svgviewer Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
text-only Replace *most* cases of var with let/const in the examples/ folder 2021-03-12 17:16:59 +01:00
webpack Update webpack import instructions 2021-05-28 20:46:56 -04:00
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00