konitter / gulp-combine-media-queries

MIT License
92 stars 28 forks source link

Increases file size? #10

Open anselmh opened 9 years ago

anselmh commented 9 years ago

Hey,

just included this plugin into one of my projects and found out it actually can increase file size instead of minimizing it?

I don’t know why exactly this happens and how to prevent it. Maybe you can add a flag/option that authors can use in their gulpfile to not increase filesize (and then skip the optimization after comparing filesizes)?

fesor commented 9 years ago

Just checked - plugin adds extra line between rulesets. Not a big deal if you using some tool for css minifications (csso for example).

anselmh commented 9 years ago

Ah, that explains it. csso has already worked before which is why it now adds up to it again. Well then it might be a documentation only thing…