Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Large bundle size due to @ledgerhq/cryptoassets dependency #796

Open
sterlu opened this issue Feb 7, 2022 · 0 comments
Open

Large bundle size due to @ledgerhq/cryptoassets dependency #796

sterlu opened this issue Feb 7, 2022 · 0 comments

Comments

@sterlu
Copy link

sterlu commented Feb 7, 2022

While analyzing our bundle, I realized there's a single giant blob file in the @ledgerhq/cryptoassets package, imported by @ledgerhq/hw-app-eth. This singlehandedly increases any bundle by over 900KB. Forcing a registry of all ERC20 tokens into a bundle doesn't seem like a good idea for a generalized package such as this one supporting the Eth app. Are there any recommended workarounds for this?

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant