Remove comments in html
npm install grunt-remove-html-comments> Remove comments in html, using remove-html-comments
Issues with the output should be reported on the remove-html-comments issue tracker.
```
$ npm install --save-dev grunt-remove-html-comments
`js
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
removeHtmlComments: {
target: {
src: 'src/index.html',
dest: 'dest/index.html'
}
}
});
grunt.registerTask('default', ['removeHtmlComments']);
`
NOTE If the file dest is NOT specified, src is overwritten. Also only one src per dest is supported. The first file is used if multiple src per dest is found. See http://gruntjs.com/configuring-tasks#files for more information on files`
MIT © Steve Mao