sabberworm / fez-react

Transform React JSX using Fez

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fez-react

Fez operation for transforming React JSX code to JS.

Install

npm install fez-react --save-dev

Modify your fez.js

var react = require('fez-react');

spec.with("path/to/your/*.jsx").each(function(file) {
	spec.rule(file, file.patsubst("%.jsx", "%.js"), react({separator: '\n'});
});
ezoic increase your site revenue

About

Transform React JSX using Fez


Languages

Language:JavaScript 100.0%