Use Babel to compile React JSX with Grunt

Have you heard about React? Check it out if you haven’t.

Here’s a quick configuration to add Babel, a JavaScript compiler, to your Grunt┬áprocess.

With the following you will transform your .jsx files to .js that will browser will understand and process.

Enjoy.

package.json

Gruntfile.js

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*