gulp-react-static
v1.0.8
Published
Compile react pages to static markup
Downloads
8
Readme
gulp-react-static
Compile es6 react components into static html.
Install
npm install --save-dev gulp gulp-react-static
Usage
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);
})
License
MIT © Will O'Brien