-
Notifications
You must be signed in to change notification settings - Fork 322
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
Very weird minification behavior #255
Comments
GoalSmashers
pushed a commit
that referenced
this issue
Mar 7, 2014
Good catch @danieltott! That's because of too greedy regular expressions. 2.1.5 is out in npm repository! |
Thanks for the quick reply and fix! |
GoalSmashers
pushed a commit
that referenced
this issue
Mar 7, 2014
Sure, enjoy! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This block of code:
.selector-0, .abc {
margin-left: 0;
}
Results in this minification:
.abc,.selector0{margin-left:0}
Which you can see is incorrect. I have no idea why this is happening.
This happens with any selector that ends in "-0" - not "-1" or any other digit, and it only happens when it is followed by another selector.
Here's a gist with some more examples:
https://gist.github.com/danieltott/35969292a7605a4883e4
The text was updated successfully, but these errors were encountered: