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
Apparently our move to ethers v6 caused our minified+gzipped bundle size to increase by ~200kb (size of fuels@0.62.0, size of fuels@0.63.0).
I took a look around and it seems like we can replace our ethers dependencies with just @ethersproject/bytes.
Edit: ethers v6 supports tree-shaking, so such a big jump in package size shouldn't happen.
The text was updated successfully, but these errors were encountered:
I built demo-react-vite with the current master and got its size. Afterwards, I removed ethers from all packages and excluded it from the build process in order to not have any build errors, and rebuilt the demo-react-vite app and the size was reduced by only 14 KB, meaning that ethers indeed does get tree-shaken. It seems that bundlephobia.com doesn't catch this part.
Apparently our move to
ethers
v6 caused our minified+gzipped bundle size to increase by ~200kb (size of fuels@0.62.0, size of fuels@0.63.0).I took a look around and it seems like we can replace our
ethers
dependencies with just@ethersproject/bytes
.Edit:
ethers
v6 supports tree-shaking, so such a big jump in package size shouldn't happen.The text was updated successfully, but these errors were encountered: