bip39 icon indicating copy to clipboard operation
bip39 copied to clipboard

feat: ESM bundling (or export functions in separate files)

Open sesam opened this issue 5 years ago • 1 comments

would you consider a smaller PR that adds ESM bundling and/or exports all functions in separate files to allow cherry picking imports?

@timhwang21 see #81 - maybe source is still too small to make bundling a reasonably important issue. Or maybe you meant about dependencies? By only importing, say, the encoding part, you would be able to skip all the generator-related stuff.

sesam avatar Dec 17 '18 08:12 sesam

@sesam my main concern was wordlists which makes up the bulk of the bundle. Your other issue captures my concern 😄

timhwang21 avatar Dec 18 '18 01:12 timhwang21