-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Making js-ipfs supports webpack5 #3511
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
We've removed node globals from all the repos in the ipfs/ipld/multiformats orgs. There are still a few dependencies of IPFS that do things like reference If you would like to help you can PR those repos to remove the use of node globals. I did cbor earlier today. I think some of the level repos need PRs, as does node-forge and some of the crypto libraries. Otherwise the only solution is to stick to webpack 4 for now, or use a different bundler. |
We actually have one example that uses webpack5, |
Takes the config from the service worker example and uses it to patch up the webpack example to use v5 fixes: #3511
Takes the config from the service worker example and uses it to patch up the webpack example to use v5 fixes: #3511
"ipfs": "0.53.2",
Darwin FledgeXus-MBP 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64
Severity:
Hight: Making JS-ipfs supports webpack5
Description:
Webpack5 removes Node.js core modules polyfills and it makes that js-ipfs can not just work in browser. How will the IPFS support webpack5?
The text was updated successfully, but these errors were encountered: