JS IPFS is a large collection of modules that aim to implement IPFS in Node.js and the browser. As such the distributions of these modules has a specific set of constraints.
Our current setup is not bad, and does generate bundles usable in Node.js and the browser, but there are some pain points that need work.
- Bundles are quite large
- Lots of dependencies are duplicated, for example
readable-stream
is included 12 times in the currentjs-ipfs
browser bundle.