BlessCSS / bless

CSS Post-Processor
blesscss.com
MIT License
282 stars 60 forks source link

Blessc unminifies files #107

Open pixeldrew opened 8 years ago

pixeldrew commented 8 years ago

My output is minified first then I run blessc on the output the resulting css is then expanded.

mtscout6 commented 8 years ago

I'd recommend that you run your minifier after you've run bless. We don't make any efforts to preserve any kind of formatting.

pixeldrew commented 8 years ago

perhaps you could add an option to properly minify? it seems that when I run cssmin it tries to process blessc's import statements.

tofuwarrior commented 7 years ago

Running a minifier after bless is a very clunky workflow. Compile less (where you can easily minify) then split into 1 or more files, then minify one or more files. Is it that much of a problem to maintain the minification? Surely the counting of css declarations is much the same so don't you just split the file at the appropriate points? In which case, why not just maintain the original strings rather than unminifying? Or is it that you unminify in order to count the declarations? Seems a shame as it makes bless much more unwieldy on command line.

mtscout6 commented 7 years ago

If you want to submit a PR to fix the problem I have no problem with that.