You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switches the codebase to ESM and exports ESM and CJS code. The main goal is to enable ipfs-unixfs to be built on next generation bundlers like skypack: codepen.io/vascosantos/pen/NWjaYqP?editors=0011 This is a problem that has not been fixed in skypack yet. More details: skypackjs/skypack-cdn#171
Given we will need to export ESM and we will, let's get this to circumvent the issue.
We also need to manually change the generated protobuf code due to protobufjs/protobuf.js#1230
BREAKING CHANGE: ./src/dir-sharded is not in the exports map so cannot be imported
Co-authored-by: Alex Potsides <alex@achingbrain.net>
0 commit comments