grunt-uncomment-it

1.0.0 • Public • Published

grunt-uncomment-it Build Status

Uncomment html, js or css, using uncomment-it

Issues with the output should be reported on the uncomment-it issue tracker.

Install

$ npm install --save-dev grunt-uncomment-it

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
 
grunt.initConfig({
  uncommentIt: {
    target: {
      src: 'src/index.html',
      dest: 'dest/index.html'
    }
  }
});
 
grunt.registerTask('default', ['uncommentIt']);

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

Package Sidebar

Install

npm i grunt-uncomment-it

Weekly Downloads

12

Version

1.0.0

License

MIT

Last publish

Collaborators

  • stevemao