-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Selectors are moved above @import with restructuring on and --skip-import #476
Comments
Glad I found this, thought I was going crazy when all my fonts broke. Thanks for the fix. |
I'll merge and release it tomorrow morning. Sorry for the trouble - use |
jakubpawlowicz
pushed a commit
that referenced
this issue
Mar 4, 2015
jakubpawlowicz
pushed a commit
that referenced
this issue
Mar 4, 2015
jakubpawlowicz
pushed a commit
that referenced
this issue
Mar 4, 2015
Just ran into this today with our dist files. Glad I found this thread. Thanks for the fix. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Seems like @import rules are not kept on top when restructuring. When skipping processing of @import rules and using advanced optimization with restructuring, some properties can end up above @import rules which are correctly at the top, thus breaking the generated CSS.
This CSS:
will end up as:
instead of:
The text was updated successfully, but these errors were encountered: