mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #13833 from tamuratak/add_peer_dep_meta_for_worker_loader
Make worker-loader optional as peerDependencies. Close #13825.
This commit is contained in:
commit
4483cba724
1 changed files with 6 additions and 1 deletions
|
@ -2018,7 +2018,12 @@ function packageBowerJson() {
|
|||
bugs: DIST_BUGS_URL,
|
||||
license: DIST_LICENSE,
|
||||
peerDependencies: {
|
||||
"worker-loader": "^3.0.7", // Used in `external/dist/webpack.js`.
|
||||
"worker-loader": "^3.0.8", // Used in `external/dist/webpack.js`.
|
||||
},
|
||||
peerDependenciesMeta: {
|
||||
"worker-loader": {
|
||||
optional: true,
|
||||
},
|
||||
},
|
||||
browser: {
|
||||
canvas: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue