Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 652 Bytes

readme.md

File metadata and controls

39 lines (24 loc) · 652 Bytes

grunt-strip-css-comments

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