abdennour / react-progressbar

Basic progress bar in React.js
http://abdennour.github.io/react-progressbar/
MIT License
88 stars 28 forks source link

Browserify requires Reactify - allow Babelify alternative #5

Closed edmelly closed 8 years ago

edmelly commented 9 years ago

At the moment, react-progressbar requires Reactify to transform the .jsx files. I believe a lot of people are migrating to use Babelify as a more versatile alternative, and if you are already using one it's redundant to have them both. Is it possible to check to see if one or the other is already available and use that?

Related: Reactify is not currently declared as a dev dependency, so you will potentially get an error trying to require('react-progressbar') if you're not using Reactify somewhere else in your build process.

paramaggarwal commented 9 years ago

Good points. Yes, we should move to babel. Will take a shot at it sometime soon. Keeping this open if someone would like to take this up. Pretty much like the setup I have over at https://github.com/paramaggarwal/react-dropzone/blob/master/package.json#L7.

paramaggarwal commented 8 years ago

Resolved in 042d48bfa8b87c61ffda78957332501edae48ab9.