Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup webpack/rollup for @arkecosystem/crypto #2806

Closed
faustbrian opened this issue Jul 15, 2019 · 0 comments
Closed

Setup webpack/rollup for @arkecosystem/crypto #2806

faustbrian opened this issue Jul 15, 2019 · 0 comments

Comments

@faustbrian
Copy link
Contributor

faustbrian commented Jul 15, 2019

I'm in the process of updating the paper-wallet dependencies and thus some code that needs changes.

Currently it is not possible to use it in the browser as no UMD module exists https://github.com/ArkEcosystem/core/blob/master/packages/crypto/package.json#L19. This can be changed to point to dist/index which solves the issue but results in a huge file as webpack doesn't know how to apply tree-shaking to it once included in other projects.

Either webpack or rollup (preferred) should be setup to build the crypto package for server and browser support.

See https://github.com/Hotell/typescript-lib-starter for reference.

@faustbrian faustbrian changed the title Setup webpack/rollup for @arkecosystem/crypto [100$] Setup webpack/rollup for @arkecosystem/crypto Jul 15, 2019
@faustbrian faustbrian changed the title [100$] Setup webpack/rollup for @arkecosystem/crypto Setup webpack/rollup for @arkecosystem/crypto Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant