Package | gulp-ejs-pages |
Node Version | >= 0.10 |
This gulp plugin aims to take a tree of folders with EJS and JSON files and turn it into the same folder structure with HTML files.
// ... other requires
var ejsPages = require('gulp-ejs-pages');
gulp.task('html', function() {
return gulp.src('./pages/**/*.ejs')
.pipe(ejsPages())
// ... more stuff and things
.pipe(gulp.dest('./www/'));
});
In Progress