https://github.com/stevemao/gulp-remove-html-comments
Remove comments in html
https://github.com/stevemao/gulp-remove-html-comments
Last synced: 4 months ago
JSON representation
Remove comments in html
- Host: GitHub
- URL: https://github.com/stevemao/gulp-remove-html-comments
- Owner: stevemao
- Created: 2015-05-22T07:23:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-23T01:17:10.000Z (about 10 years ago)
- Last Synced: 2025-01-20T16:06:23.487Z (5 months ago)
- Language: HTML
- Homepage:
- Size: 125 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# gulp-remove-html-comments [](https://travis-ci.org/stevemao/gulp-remove-html-comments)
> Remove comments in html with [remove-html-comments](https://github.com/stevemao/remove-html-comments)
*Issues with the output should be reported on the remove-html-comments [issue tracker](https://github.com/stevemao/remove-html-comments/issues).*
## Install
```
$ npm install --save-dev gulp-remove-html-comments
```## Usage
```js
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](https://github.com/stevemao)