Use locally-installed Gulp over globally-installed one

Tim van der Meij 2024-05-31 15:46:28 +02:00
parent 3646588b02
commit dc3a981a32

@ -26,4 +26,4 @@ To use the library in your project add `require('pdfjs-dist')` to your file requ
Refer to https://github.com/mozilla/pdf.js/tree/master/examples/webpack for a complete example.
## Build PDF.js from source
After cloning PDF.js, you can build PDF.js from source by running the `gulp generic` command. This will create the built PDF.js in the `build` folder.
After cloning PDF.js, you can build PDF.js from source by running the `npx gulp generic` command. This will create the built PDF.js in the `build` folder.