Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Fix dist import issue#65

Merged
holgerd77 merged 2 commits intomasterfrom
fix-dist-import-issue
Aug 8, 2018
Merged

Fix dist import issue#65
holgerd77 merged 2 commits intomasterfrom
fix-dist-import-issue

Conversation

@holgerd77
Copy link
Member

Solution for #64

"name": "ethereumjs-wallet",
"version": "0.6.1",
"description": "Utilities for handling Ethereum keys",
"main": "dist/index.js",
Copy link
Contributor

@michaelsbradleyjr michaelsbradleyjr Aug 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, you could keep this as dist/index.js, build from src/ into dist/, and place a script/s that doesn't get transpiled by babel at the top-level of the package, e.g. hdkey.js:

module.exports = require('./dist/hdkey.js');

For each module that people expect to be able to:

require('ethereumjs-wallet/<module>');

You would need a corresponding top-level script that's a one-liner re-export from the corresponding module in dist/.

@holgerd77 holgerd77 force-pushed the fix-dist-import-issue branch from f67de59 to b4c1c2e Compare August 8, 2018 08:41
@holgerd77
Copy link
Member Author

Have re-triggered the tests after an update to the coveralls command since this was still failing.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 88.462% when pulling b4c1c2e on fix-dist-import-issue into 71a51f1 on master.

Copy link
Member Author

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have looked at this again with a one-day-distance, will now merge since this is time-critical.

@holgerd77 holgerd77 merged commit efd2012 into master Aug 8, 2018
@holgerd77 holgerd77 deleted the fix-dist-import-issue branch August 8, 2018 08:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants