carrot / roots-react-playground

just messing with react a little bit
3 stars 0 forks source link

Use browserify #2

Open jescalan opened 9 years ago

jescalan commented 9 years ago

It would be great to be able to use browserify. The issue here is the extension ordering -- browserify can't parse jsx so it has to run beforehand. However, the compiles always run after extensions at the moment, so it doesn't work out.

jescalan commented 9 years ago

So using reactify as a transform with browserify should allow you to pull this off. In this case you'd just use regular .js or .coffee extensions.