migrate to pdfjs-dist npm package

This commit is contained in:
octocorvus 2023-02-19 06:25:58 +00:00 committed by Daniel Micay
parent 30b8769ed2
commit 2935bd4b27
7 changed files with 1275 additions and 6 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ keystore.properties
*.keystore
/.idea
/releases
/node_modules

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "pdfjs-dist"]
path = third_party/pdfjs-dist
url = https://github.com/mozilla/pdfjs-dist.git

View File

@ -1 +1 @@
../../../../third_party/pdfjs-dist/build/pdf.min.js
../../../../node_modules/pdfjs-dist/build/pdf.min.js

View File

@ -1 +1 @@
../../../../third_party/pdfjs-dist/build/pdf.worker.min.js
../../../../node_modules/pdfjs-dist/build/pdf.worker.min.js

1267
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

5
package.json Normal file
View File

@ -0,0 +1,5 @@
{
"dependencies": {
"pdfjs-dist": "3.1.81"
}
}

@ -1 +0,0 @@
Subproject commit eb245b8de89c8d631d175ae937136de54ea3ed51