js-multihashing-async icon indicating copy to clipboard operation
js-multihashing-async copied to clipboard

Using import() function for code splitting

Open mikeal opened this issue 5 years ago • 1 comments

In order to reduce the impact not the default bundle size, each method should use the import() function to get the crypto library it needs. Since all the methods are already async this wouldn’t require an API change and would result in some very code splitting for the consumers.

mikeal avatar Apr 02 '19 17:04 mikeal