gulp-remove-html-comments

Remove comments in html

Usage no npm install needed!

<script type="module">
  import gulpRemoveHtmlComments from 'https://cdn.skypack.dev/gulp-remove-html-comments';
</script>

README

gulp-remove-html-comments Build Status

Remove comments in html with remove-html-comments

Issues with the output should be reported on the remove-html-comments issue tracker.

Install

$ npm install --save-dev gulp-remove-html-comments

Usage

var gulp = require('gulp');
var removeHtmlComments = require('gulp-remove-html-comments');

gulp.task('default', function () {
  return gulp.src('src/*.html')
    .pipe(removeHtmlComments())
    .pipe(gulp.dest('dist'));
});

License

MIT © Steve Mao