Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevemao/gulp-remove-html-comments
Remove comments in html
https://github.com/stevemao/gulp-remove-html-comments
Last synced: 21 days 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 (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-23T01:17:10.000Z (over 9 years ago)
- Last Synced: 2024-12-07T21:44:18.883Z (about 1 month 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 [![Build Status](https://travis-ci.org/stevemao/gulp-remove-html-comments.svg?branch=master)](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)