following code is using by css-star-rating
library.
@for $i from $minRatingValue through $maxNumOfStars {
&.value-#{$i}.half {
.star-container {
@if ($i < $maxNumOfStars) {
.star:nth-child(#{$i+1}) {
@extend .half;
}
}
}
}
}
with following values for variables
$minRatingValue: 1 !default;
$maxNumOfStars: 6 !default;
Source: https://github.com/BioPhoton/css-star-rating/blob/master/src/scss/_modifiers.scss#L163
This part of code compile correctly using node-sass
but not working as soon as i try to compile this with newer version of sass
(https://www.npmjs.com/package/sass).
The compiler just stuck on and no error/warning is displayed. Any idea on how i can fix this?
I already tried the !optional
flag but this doesnt affect the behavior.