andreypopp / reactify

[DEPRECATED] Browserify transform for JSX (superset of JavaScript used in React library by Facebook)
MIT License
690 stars 68 forks source link

How to config reactify in grunt? #32

Closed lovekonakona closed 9 years ago

lovekonakona commented 9 years ago

How to config reactify in grunt? I want use es6.

thanks.

andreypopp commented 9 years ago

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

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