mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Removing "entry-loader" dependency from webpack.
This commit is contained in:
parent
127e6d7343
commit
ae415f9e80
12 changed files with 45 additions and 17 deletions
|
@ -7,7 +7,7 @@ require('pdfjs-dist');
|
|||
|
||||
var pdfPath = '../helloworld/helloworld.pdf';
|
||||
|
||||
// Setting worker path to worker bundle
|
||||
// Setting worker path to worker bundle.
|
||||
PDFJS.workerSrc = '../../build/browserify/pdf.worker.bundle.js';
|
||||
|
||||
// It is also possible to disable workers via `PDFJS.disableWorker = true`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue