In my Gruntfile I am using the cssmin task (grunt-contrib-cssmin). Sort of:
cssmin: { css : { src: "dist/styles.css", dest: "dist/styles.min.css" } }
The problem is this: styles.css is generated using a concat task that combines many .css files. In some files I have the same css selector (example: .panel a) Only the first selector is stored in the cssmin task, all the others are deleted. I assume this is the default behavior of the task. Is there a way to keep duplicate selectors?
source share