gulp-ejsmin
v0.0.1
Published
A EJS-Minify plugin for gulp
Downloads
19
Readme
gulp-ejsmin
EJS-Minify plugin for gulp 3.
Usage
First, install gulp-ejsmin
as a development dependency:
npm install --save-dev gulp-ejsmin
Then, add it to your gulpfile.js
:
var gulp = require('gulp');
var ejsmin = require('gulp-ejsmin');
gulp.task('default', function () {
gulp.src('./src/*.ejs')
.pipe(ejsmin({removeComment: true}))
.pipe(gulp.dest("./dist"));
});
Options ejsmin(options)
removeComment
Type: Boolean
Default: false