-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should use peerDependenciesMeta for worker-loader #13825
Comments
@tamuratak That looks completely reasonable as far as I can tell; do you want to submit a patch? Lines 2020 to 2022 in 3ec1bac
Also, if we're editing this code anyway I'd suggest bumping the |
…_loader Make worker-loader optional as peerDependencies. Close #13825.
Can someone please trigger a release of pdfjs-dist v2.11.338 on npmjs.com to make use of these fixes? |
See https://www.npmjs.com/package/pdfjs-dist?activeTab=versions |
Thanks a lot for pointing me to the ricght direction. |
Related to #11474 and #12815.
The following should be added to
package.json
ofpdfjs-dist
forworker-loader
.npm v7 installs
peerDependencies
by default. We can see that callingnpm install pdfjs-dist
in an empty directory will installwebpack
and others innode_modules
.We can make
worker-loader
optional withpeerDependenciesMeta
.The text was updated successfully, but these errors were encountered: