felixakiragreen / react-kronos

A fast, intuitive, and elegant date and time picker for React.
https://felixakiragreen.github.io/react-kronos/
MIT License
90 stars 28 forks source link

Better support for browserify? #20

Closed arnars closed 8 years ago

arnars commented 8 years ago

I just updated to the newest version, which gave me some errors. I think this is because the main reference in package.json is based on people using webpack.

I included the path to /dist/bundle.js, which works for me, but I am uncertain as to if this adds a lot to the file size? Are there better ways of using react-kronos with browserify?

All the best, Anders

arnars commented 8 years ago

Actually nevermind I think. I just installed Babel and imported it the way you suggest. It seems to work fine now with browserify.