luqin / react-icheck

:radio_button: iCheck components built with React. Highly customizable checkbox, radio buttons and radio group.
https://luqin.github.io/react-icheck
177 stars 40 forks source link

Cannot resolve module with webpack #1

Closed baptadn closed 8 years ago

baptadn commented 8 years ago

Hello, thanks for the lib :+1:

I use it with webpack and it seems that webpack can't find the module react-icheck, I'm stuck with this error when I use the lib Module not found: Error: Cannot resolve module 'react-icheck'.

package.json main property has the wrong value maybe (lib/index.js) ? https://github.com/luqin/react-icheck/blob/master/package.json#L5

luqin commented 8 years ago

@shinework Thank you.I will resolve this issue today.

baptadn commented 8 years ago

Thank you, it works :metal:

luqin commented 8 years ago

@shinework :smile: