1.0.3 • Published 9 years ago

gulp-minify-ejs v1.0.3

Weekly downloads
171
License
MIT
Repository
github
Last release
9 years ago

gulp-minify-ejs

NPM

1.0.2 Update

Now you can save space chars of the html tag inner text which you wish
such as below:
<div> a b c www      </div>  
===>
<div>a b c www</div>

Installation

Use npm.

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'))
})
谢谢侬 o(^▽^)o

LICENSE

MIT © Noeek Wang

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago