gulp-cleanhtml
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 = ; gulp;
The above will remove unneeded whitespaces, line-breaks, comments, etc from the HTML.