Socket
Book a DemoInstallSign in
Socket

gulp-ejsmin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-ejsmin

A EJS-Minify plugin for gulp

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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

License

MIT License © Shule Xiong

Keywords

gulpplugin

FAQs

Package last updated on 23 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts