gulp-min-ejs
v1.0.0
Published
minify ejs local template
Downloads
1
Readme
gulp-minify-ejs
Installation
npm install gulp-minify-ejs --save-dev
Usage
var gulp = require('gulp'),
//rename = require("gulp-rename"),
minifyejs = require('gulp-minify-ejs')
gulp.task('minify-html', function() {
return gulp.src(['src/views/*.ejs','src/views/*.html'])
.pipe(minifyejs())
//.pipe(rename({suffix:".min"}))
.pipe(gulp.dest('dist'))
})