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
Sass 3.4.17 not adding semicolon #1806
Comments
Can you please provide a code example of what's broken? |
I cannot reproduce this. Please provide a minimal code example and the commands you're using to compile it. |
This is the command I use: And this is part of the file that needs to be processed: /:::: Main Stylesheet ::::/ @import 'reset.scss'; Now, when the processing is complete, those semicolons (all 3) are missing. And this is the grunt task I use:
|
I'm getting exactly the same behaviour with Sass 3.4.17 Selective Steve. With compressed output style. @import url(MyFontsWebfontsKit.css)html{font-size:62.5%} etc. no semicolon after @import url() It's stopping my fonts from loading! No console errors either. It was fine before I moved / ugraded my dev env. As a workaround and to save trawling about for the problem I've changed output style to 'expanded'. Which is not ideal but gets me out of a tight spot. Here's my options and style that causes the problem etc: sass : { @import 'MyFontsWebfontsKit.css'; I'll wait and see what happens here.. |
Fixed in 3.4.18 which was just released. |
Working for me in 3.4.18 ! |
have this issue still in 3.4.21 (critical steve)
Using:
Parses to:
UPDATE: |
@marschro the trailing semicolon on the last declaration is not needed in CSS so it was left out as an optimisation. |
I have just installed Sass 3.4.17 Selective Steve and when creating my main.min.css it doesn't add semicolons after the first two imports.
I saw in the changelog that there was a fix related to semicolons, so I believe the issues are related.
Until there is a fix, I rolled back to 3.4.16.
The text was updated successfully, but these errors were encountered: