Can there be UMD support, so there is a /dist directory with a prebuilt version? This allows the package to be hosted on cdns, such as https://unpkg.com/. There's something similar done for react-tabs. Thanks!
I don't really like having built files in repos, but I can definitely add it if you think it would be useful!
馃憤 I think it will be a good addition.
There will now be a UMD bundled version distributed in 3.0.0, you can start using it now with [email protected] 馃帀
Here is the unpkg link: https://unpkg.com/[email protected]/dist/react-color.min.js
Example is here: https://github.com/casesandberg/react-color/blob/3.0.0/examples/with-umd/index.html
@casesandberg could it be separated for each picker, eg react-color-sketch.js?
@ekoeryanto Definitely. I went ahead and opened up a new issue here and added it to the 3.0.0 milestone. https://github.com/casesandberg/react-color/issues/504
@casesandberg Can UMD bundles also be made for version 2?
Most helpful comment
There will now be a UMD bundled version distributed in 3.0.0, you can start using it now with
[email protected]馃帀Here is the unpkg link: https://unpkg.com/[email protected]/dist/react-color.min.js
Example is here: https://github.com/casesandberg/react-color/blob/3.0.0/examples/with-umd/index.html