Skip to content

Conversation

@anilpixel
Copy link

When I use your progress bar with Jest(babel-jest for loader), babel-jest can't load this module:
I think the reason is in lib/ProgressBar.js

exports.default = ProgressBar;
module.exports = exports['default']; 

it's NOT a standard babel6 compiled result for ES Module, because .babelrc use babel-plugin-add-module-exports.

So I remove babel-plugin-add-module-exports from .babelrc, and rebuild it.

PS: I'm sorry disabled eslint-rule: jsx-a11y/no-static-element-interactions and my poor Engilsh.

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

Successfully merging this pull request may close these issues.

1 participant