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?
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?