In my Gruntfile I'm using cssmin (grunt-contrib-cssmin) task. Something like:
cssmin: {
css : {
src: "dist/styles.css",
dest: "dist/styles.min.css"
}
}
The problem is: styles.css is generated with a concat task that concatenates lots of .css files. In some of files I have the same css selector (example: .panel a) Only the first one selector is kept bu the cssmin task, all others are removed. I guess it's a default behaviour of the task. Is there a way to keep duplicated selectors?