0.1.4 • Published 10 years ago

gulp-htmin v0.1.4

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

gulp-htmin

Minify HTML via gulp.

Getting Started

Install the module with: npm install gulp-htmin --save-dev

Usage

var gulp = require("gulp");
var htmin = require("gulp-htmin");

gulp.task("minify", function() {
  gulp.src("src/*.html")
    .pipe(htmin({collapseWhitespace: true}))
    .pipe(gulp.dest("dist"))
});

See the html-minifer docs for options.

Fork

This began as a fork of gulp-htmlmin.

License

MIT