codyhouse / codyhouse-framework

A lightweight front-end framework for building accessible, bespoke interfaces.
https://codyhouse.co/
MIT License
1.16k stars 171 forks source link

gulp-clean-css makes css min file larger than source? #110

Closed starchild closed 2 years ago

starchild commented 3 years ago

Hi,

I'm trying to add a minifier to the standard v2 gulpfile and the output when using gulp-clean-css is larger than the source.

Have you got a way to get around/fix this?

Is this maybe why it's not included in the default gulp js file with v2?

Thanks a lot.

claudia-romano commented 2 years ago

Hi there, the default gulp file for v2 already minify the css using the outputStyle: 'compressed' option of the gulp-sass plugin. This is why we do not use gulp-clean-css for v2. Are you using both the 'compressed' gulp-sass option and gulp-clean-css?

claudia-romano commented 2 years ago

Hi there, I'm closing this issue as no additional info was provided. Feel free to reopen it if you are still experiencing the problem. Cheers!