Closed davidhbrown closed 3 years ago
Thanks for your help and for providing this PR, @davidhbrown
This is definitely a good approach but Bootstrap's solution to resolve this issue seems more elegant as no @use "sass:math";
is needed.
And Libsass will still work.
Furthermore it's usually better that projects based on frameworks align with the original codebase (i.e. Bootstrap). What do you think?
A fix for these warnings (*.5
instead of /2
)will be included in the next release - so no further action is required on your side.
That makes great sense... just because your gulp is now using Dart Sass doesn't mean everyone will. In fact, I'd done that sort of * 0.___
in some of my own scss (when the divisor worked out as a non-repeating decimal which isn't always) while waiting for JetBrains to update their Sass library to include math.div.
Provided to resolve #5