Im using cssmin to minify css files.
my config like this:
module.exports = function(grunt) { grunt.config.set(\'cssmin\', { site: {
Set keepSpecialComments to zero, for removing all comments.
keepSpecialComments
grunt.config.set('cssmin', { options: { keepSpecialComments: 0 }, site: { src: ['.tmp/public/concat/site.css'], dest: '.tmp/public/min/site.min.css' } });
For future reference: grunt-contrib-cssmin uses clean-css options.
grunt-contrib-cssmin