You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the latest version v1.1.6, when I require the component, I get that
"lib/index.js" in /Users/mikecho/dev/my_project/node_modules/react-countup/package.json (web.browser)
I am requiring the component like this:
import CountUp from 'react-countup';
When I look inside /Users/mikecho/dev/my_project/node_modules/react-countup/, I don't see /lib. But that directory should have been built by babel. What would be the cause of this?
The text was updated successfully, but these errors were encountered:
Thanks for filing that issue! I forgot to add the files field in package.json to specify which files to include to the project in the npm registry. Sorry for that!
This commit fixes it, simply uninstall and install v1.1.7
Using the latest version v1.1.6, when I require the component, I get that
I am requiring the component like this:
When I look inside
/Users/mikecho/dev/my_project/node_modules/react-countup/
, I don't see/lib
. But that directory should have been built by babel. What would be the cause of this?The text was updated successfully, but these errors were encountered: