mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Initial browserify example.
This commit is contained in:
parent
2dd03e1785
commit
d7d7935648
8 changed files with 131 additions and 0 deletions
5
make.js
5
make.js
|
@ -332,6 +332,11 @@ target.dist = function() {
|
|||
homepage: DIST_HOMEPAGE,
|
||||
bugs: DIST_BUGS_URL,
|
||||
license: DIST_LICENSE,
|
||||
browser: { // used by browserify and ignores following files during bundle
|
||||
'entry?name=[hash]-worker.js!./pdf.worker.js': false,
|
||||
'./build/pdf.worker.js': false,
|
||||
'node-ensure': false
|
||||
},
|
||||
repository: {
|
||||
type: 'git',
|
||||
url: DIST_REPO_URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue