Closed stovmascript closed 8 years ago
Importing the module didn't work (at least with React Native) because the main key was still pointing to the old chromath.js file. Changing the value to index.js or omitting this key (npm looks for index.js by default) fixes the issue.
main
Thanks for the PR. I've merged and published as 0.0.7. Let me know if it doesn't work as expected.
Importing the module didn't work (at least with React Native) because the
main
key was still pointing to the old chromath.js file. Changing the value to index.js or omitting this key (npm looks for index.js by default) fixes the issue.