9 ms·
Both of the problems you mention have been fixed.
by Sevii 5y ago
Both of the problems you mention have been fixed.
- josephg 5y agoNo it hasn't. Web3 hasn't gotten smaller. In the last year its gotten even worse. Its now nearly 3x as big as it was 4 years ago, when I first complained about it being slow and bloated. I re-ran some tests to check after reading your comment, and compared to last year web3 has regressed in every measure I took: - node_modules size: 59mb (was 53mb last year) - Non-minified bundle size: 3.2mb (was 2.4mb last year) - Minified bundle size: 1.85mb (was 1.15mb last year) - Number of copies of bn.js included in the bundle: 8 (was 6) The minified+gzipped size has increased by 88% in the last 12 months alone. Full details in the issue: https://github.com/ChainSafe/web3.js/issues/1178#issuecomment-995567079 https://github.com/ChainSafe/web3.js/issues/1178#issuecommen...
- miracle2k 5y agoHowever, MetaMask no longer injects web3.js.