mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Update the readme to reflect build changes.
This commit is contained in:
parent
492fa6edb4
commit
dd22f44953
1 changed files with 4 additions and 4 deletions
|
@ -61,13 +61,13 @@ You can also view all the test pdf files on the right side serving
|
|||
|
||||
+ http://localhost:8888/test/pdfs/?frame
|
||||
|
||||
### Building pdf.js
|
||||
### Building pdf.js.
|
||||
|
||||
In order to bundle all `src/` files into a final `pdf.js`, issue:
|
||||
In order to bundle all `src/` files into a final `pdf.js` and build the generic viewer, issue:
|
||||
|
||||
$ node make bundle
|
||||
$ node make generic
|
||||
|
||||
This will generate the file `build/pdf.js` that can be included in your final project. (WARNING: That's a large file! Consider minifying it).
|
||||
This will generate the file `build/generic/build/pdf.js` that can be included in your final project. The pdf.js file is large and should be minified for production. Also, if you would like to support more browsers than firefox you'll also need to include `compatibility.js` from `build/generic/web/`.
|
||||
|
||||
|
||||
# Learning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue