Hi. I've been working on a dapp and noticed that importing ethers directly causes a lot of bloat to be added in my JS bundles. I've changed all the imports so we import directly from @ethersproject/* packages instead. I've did this for my app and noticed my bundle sizes drop.
Hi. I've been working on a dapp and noticed that importing
ethers
directly causes a lot of bloat to be added in my JS bundles. I've changed all the imports so we import directly from@ethersproject/*
packages instead. I've did this for my app and noticed my bundle sizes drop.