deprecation: using / for division outside of calc()
Closed this issue · 1 comments
geneukum commented
When I build the app, Dart Sass logs the warning:
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($base-spacing, 2) or calc($base-spacing / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
19 │ $small-spacing: $base-spacing / 2;
We should fix this issue using the provided recommendation in order to clean up the build logs and make migration to dart sass 2.0.0 easier in the future.
locks commented
Fixed by linked PR. Thanks!