mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #13460 from nikolas/patch-1
Update webpack import instructions
This commit is contained in:
commit
d725ff36f1
1 changed files with 1 additions and 1 deletions
|
@ -33,6 +33,6 @@ Webpack users. You will need to install
|
|||
dependency in your project in order to use `pdfjs-dist/webpack` (configuring
|
||||
`worker-loader` is not necessary; just installing it is sufficient).
|
||||
|
||||
import pdfjsLib from 'pdfjs-dist/webpack';
|
||||
import * as pdfjsLib from 'pdfjs-dist/webpack';
|
||||
|
||||
For a full working example refer to [this repository](https://github.com/yurydelendik/pdfjs-react).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue