npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

grunt-strip-css-comments

1.3.0

@sindresorhus

npmHomeRepoSnykSocket
Downloads:13748
$ npm install grunt-strip-css-comments
DailyWeeklyMonthlyYearly

grunt-strip-css-comments Build Status

Strip comments from CSS using strip-css-comments

Install

$ npm install --save-dev grunt-strip-css-comments

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
	stripCssComments: {
		dist: {
			files: {
				'dist/app.css': 'src/app.css'
			}
		}
	}
});

grunt.registerTask('default', ['stripCssComments']);

Options

See the strip-css-comments options.

License

MIT © Sindre Sorhus