jfsiii / chromath

JavaScript color conversion and manipulation functions
https://jfsiii.github.io/chromath/
190 stars 13 forks source link

Fix 'main' package.json entry #8

Closed stovmascript closed 8 years ago

stovmascript commented 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.

jfsiii commented 8 years ago

Thanks for the PR. I've merged and published as 0.0.7. Let me know if it doesn't work as expected.