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

Patch for include css files via @import url(xxx); #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

philippeauriach
Copy link

As we have very large CSS files and need to be OK with IE 8, we had to split the CSS in several files (using blessCss auto splitting) to not exceed the 4095 CSS selectors limitation on IE. But we also have to use media-queries... I developped this little patch, basically what it does :

  • for every css file, check using regexp if there is an @import url(xxx);
  • if there is imported files, I put them in the queue (first in line), and put back the current file in the queue right after them
  • continue the queue without proceeding the importING file -> it continues with the newly added imported file
  • etc...

@philippeauriach
Copy link
Author

see issue #285

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

Successfully merging this pull request may close these issues.

1 participant