thomasboyt / react-pikaday

A React component wrapper around Pikaday
111 stars 31 forks source link

react-pikaday/bundled not working #15

Open lexxizz opened 8 years ago

lexxizz commented 8 years ago

Hello! I have installed react-pakaday from npm. But it doesn't work. In react-pikaday/bundled.js I see var ReactPikaday = require('./src/Pikaday'); But in my downloaded version I don't see /src directory. If I change name of directory to "lib", Picaday will work. And "src" directory is listed in npmignore file. What is the reason? Thank you.

heron-- commented 7 years ago

I just had the same experience. Changing 'src' to 'lib' worked for me as well.