Open pixeldrew opened 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.
perhaps you could add an option to properly minify? it seems that when I run cssmin it tries to process blessc's import statements.
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.
If you want to submit a PR to fix the problem I have no problem with that.
My output is minified first then I run blessc on the output the resulting css is then expanded.