web3.js icon indicating copy to clipboard operation
web3.js copied to clipboard

Web3 package - include tracking of build size 4.x

Open luu-alex opened this issue 4 years ago • 7 comments

Description:

We want to be able to track build size of the whole project, this was inspired from #1178 we want the build size to be as minimal as possible.

We can use functionality from webpack 5 for analyzing the build size

Acceptance Criteria:

  • Be able to track and analyze build size within the Web3 pack

luu-alex avatar Jan 10 '22 19:01 luu-alex

I reckon one thing that should be aimed for is tree shaking.

If users just need to call a small function they should be able to only import such small function and use it as opposed to have to call a "global web3 object" that will pull each and every dependency on the bundle.

i mean that should not aimed for, that's what i reckon should be done, otherwise the problem will persist.

hems avatar Jan 12 '22 14:01 hems

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

github-actions[bot] avatar Mar 14 '22 00:03 github-actions[bot]

any updates on this? i'm just commenting here so this issue hopefully is removed from "stale" as this is quite important?

hems avatar Mar 15 '22 04:03 hems

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

github-actions[bot] avatar May 15 '22 00:05 github-actions[bot]

Hey team! Please add your planning poker estimate with ZenHub @avkos @jdevcs @luu-alex @nikoulai @spacesailor24 @nazarhussain

mconnelly8 avatar May 17 '22 18:05 mconnelly8

not stale

hems avatar May 24 '22 15:05 hems

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

github-actions[bot] avatar Jul 24 '22 00:07 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

github-actions[bot] avatar Sep 25 '22 00:09 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

github-actions[bot] avatar Nov 26 '22 00:11 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

github-actions[bot] avatar Jan 26 '23 00:01 github-actions[bot]

resolved by https://github.com/web3/web3.js/pull/5787

mpetrunic avatar Feb 07 '23 15:02 mpetrunic