Compile es6 react components into static html.
npm install --save-dev gulp gulp-react-static
const gulp = require('gulp'),
rename = require('gulp-rename'),
render = require('gulp-react-static');
gulp.task('default', () => {
return gulp.src('src/pages')
.pipe(render())
.pipe(rename({extname: ".html"}))
.pipe(gulp.dest);
})
MIT © Will O'Brien