Closed stwiname closed 3 months ago
The linked PR doesn't relate to this?
This was incorrectly marked as fixed, reopened
After the oclif update we're down to 580MB
Closing this as we've reduced the size from >300MB to <100MB. If this is picked up again looking into the dependencies of class-transformer would be the next place to look.
The polkadot start installs about 800MB of dependencies right now. This includes the CLI as a dependency. We should look at reducing this.
This file is the output of
du -h -d 1 | sort -n
onnode_modules
with the sorting fixed with the units modules_size.txtStarting with the larger dependencies I think there are a few easy wins, these changes will probably need to be made to
common
andtypes
packages for each chain.aws-cli
as a transient dependency which is 90MB@subql/common-ethereum
. This will ensure versions of ethers remain the same between different packages@polkadot/api
as a dependency if we only use@polkadot/types