mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #15655 from tamuratak/move_canvas_to_optionaldeps
Move canvas to optionalDependencies
This commit is contained in:
commit
2ae90f9615
1 changed files with 3 additions and 1 deletions
|
@ -2168,8 +2168,10 @@ function packageJson() {
|
|||
homepage: DIST_HOMEPAGE,
|
||||
bugs: DIST_BUGS_URL,
|
||||
license: DIST_LICENSE,
|
||||
dependencies: {
|
||||
optionalDependencies: {
|
||||
canvas: "^2.10.1",
|
||||
},
|
||||
dependencies: {
|
||||
"web-streams-polyfill": "^3.2.1",
|
||||
},
|
||||
browser: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue