zilliqa-js icon indicating copy to clipboard operation
zilliqa-js copied to clipboard

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

Open hacktisch opened this issue 2 years ago • 0 comments

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

hacktisch avatar Sep 09 '22 23:09 hacktisch