felixakiragreen / react-kronos

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

Made library production-ready #39

Closed yury-dymov closed 8 years ago

yury-dymov commented 8 years ago

Hi Dubert,

currently you include react, moment, lodash to your build, which is not correct from my perspective. You also don't need all 554kb of lodash, therefore I specified only functions, which are used.

main in package.json is pointing to src/index.js instead of dist/bundle.js

As a result: bundle.js 442kb -> 26kb.

Also in my project lodash size decreased from 554kb to 55kb :)

Kind regards, Yuri.

felixakiragreen commented 8 years ago

Thanks for doing this! I'll try to test and release it over this weekend! I'm also working on a few new features for it so I want to release it all together.

yury-dymov commented 8 years ago

You are welcome :) I am more than happy to help :)