andreypopp/reactify

How to pass options to reactify when used with gulp and browserify

josebalius opened this issue · 1 comments

I want to pass in es6 and stripTypes flags but cannot figure out how to do it. At the moment I am hardcoding some changes in the reactify/index.js file, which works but would like to help support this out of the box.

I don't use gulp but if you have access to browserify bundler instance you can do:

browserify().transform('reactify', {stripTypes: true, es6: true})