Skip to content

Reduce bundle size #1060

Open
Open
@0xDazzer

Description

@0xDazzer

We found out that our bundle size is about 10mb and this is a lot. Now we need find the way to reduce amount of 3rd party dependencies. For example in wallet-connector (total size ~5mb) we have keystone sdk (about ~1.7mb) and most of its dependencies are useless for out dapp.

Image

Some of them were created for blockchains which we don't support but somehow they were included into our result bundle. You can use npm run visualizer inside simple-staking and wallet-connector to analyse bundles

babylonlabs-io/wallet-connector#392
c1d0564

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions