JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 74100
  • Score
    100M100P100Q162262F
  • License MIT

gulp plugin to minify HTML.

Package Exports

  • gulp-htmlmin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-htmlmin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-htmlmin NPM version Build Status

gulp plugin to minify HTML.

Install with npm

npm i gulp-htmlmin --save-dev

Usage

var gulp = require('gulp');
var htmlmin = require('gulp-htmlmin');

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

See the html-minifier docs for options.

Run tests

Install dev dependencies:

npm i && mocha

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Authors

Jon Schlinkert

Shinnosuke Watanabe

License

Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb on January 10, 2015.