Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.
This repository was archived by the owner on May 26, 2023. It is now read-only.

Include @zilliqa-js/account without all the bip39 word lists #459

@hacktisch

Description

@hacktisch

I need to include @zilliqa-js/account into our app main bundle but I have an issue with the entire bip39 library being loaded with it, even when I don't use any function that uses those word lists. When I analyze my bundle size (Nextjs) The bip39 word lists take a large part, and these are all included because of @zilliqa-js.

Is there any way to solve this?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions