Socket
Book a DemoInstallSign in
Socket

grunt-remove-html-comments

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-remove-html-comments

Remove comments in html

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

grunt-remove-html-comments Build Status

Remove comments in html, using remove-html-comments

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

Install

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

Usage

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

License

MIT © Steve Mao

Keywords

gruntplugin

FAQs

Package last updated on 22 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts