-
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
Why isn't bless working? It is not splitting main css into multiple css files #43
Comments
Can you please provide the output of grunt with the |
Thanks for the quick reply! Bless --verbose --debug
grunt version
node version |
The stylesheet has exactly 14,501 lines of CSS. I want to split this file up into 3 or how ever many files necessary for IE. |
I am not aware of IE having a limit on the number of lines. Bless (and grunt-bless) only splits files based on the number of selectors. You have 3901 selectors, bless splits every 4095. |
Hmm you're right. I thought it was after the 4,095th line, not rules/selectors. I was going off of this - https://support.microsoft.com/en-us/kb/262161 - I guess I misunderstood. Is there an option or somehow in a future update to tell Bless what 'line number' we want the stylesheet to split at? This would be extremely useful or nice to have as an option. |
Any help would be appreciated. I am trying to split up my main css stylesheet (specifically for ie9) it exceeds the number of lines that IE9 can handle and I want to add a grunt task which splits the main css sheet into however many it needs to.
I thought bless would solve this but I can't get it to work.
The task below simply just copies the main stylesheet 'foundation.css' into 'tmp/ie.css' - what am I doing wrong?
Here is how I have my task
The text was updated successfully, but these errors were encountered: