-
Notifications
You must be signed in to change notification settings - Fork 26
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
Compress option not doing anything #5
Comments
Thanks for the bug, the Can you verify that this is the case for you? |
It is, in fact splitting, but neither file is any different than when I dont use that option. |
It may not be different, the option simply disables adding whitespace after the import statement. After several tests, it appears to work as intended. If you, or anyone, can provide a test case that proves it is not working as expected it would be huge help. |
Oh ok, sorry I misunderstood, I was expecting some kind of minification to happen. Remove comments, line breaks, whitespace. |
I had the same misunderstanding. Does anyone have any recommendations for how best to minify the output? I can minify the first file with grunt-contrib-cssmin but it will still have the @import pointing to the unminified version(s) of the Bless output. |
You should minify the CSS first, then bless will point to the correct files. |
I misunderstood this also |
If I minify the css first and then bless it the output will always be unminified. |
+1, running grunt-bless on minified css always output unminified css... |
+1 I minify first and the output is then unminified. |
Looks like blessc since 4.0.0 is expanding minified CSS. This is very annoying as it looks like after you run cssmin on the "chunked" output, cssmin wants to process the imports (if you remove the process import statement it doesn't quite work either) |
The result is no different that when I don't compress it.
The text was updated successfully, but these errors were encountered: