fez-react
0.0.1 • Public • Published 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'});
});
Package Sidebar
Install
Weekly Downloads