1.0.3 • Published 8 years ago

gulp-cleanhtml v1.0.3

Weekly downloads
333
License
BSD-2-Clause
Repository
github
Last release
8 years ago

gulp-cleanhtml NPM version Build Status

Cleans your HTML using htmlclean

Usage

First, install gulp-cleanhtml as a development dependency:

npm install --save-dev gulp-cleanhtml

Then, add it to your gulpfile.js:

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

gulp.task('default', function(){
  gulp.src('index.html')
    .pipe(cleanhtml())
    .pipe(gulp.dest('build/index.html'));
});

The above will remove unneeded whitespaces, line-breaks, comments, etc from the HTML.

1.0.3

8 years ago

1.0.1

9 years ago

1.0.0

10 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago