Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blessc unminifies files #107

Open
pixeldrew opened this issue Jul 7, 2016 · 4 comments
Open

Blessc unminifies files #107

pixeldrew opened this issue Jul 7, 2016 · 4 comments

Comments

@pixeldrew
Copy link

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

@mtscout6
Copy link
Member

mtscout6 commented Jul 8, 2016

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
Copy link
Author

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
Copy link

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants