[GH-ISSUE #1039] Sass compile warning #487

Closed
opened 2026-03-03 14:38:45 +03:00 by kerem · 0 comments
Owner

Originally created by @pwqw on GitHub (Sep 18, 2022).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1039

WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(4, 3)

More info and automated migrator: https://sass-lang.com/d/slash-div

11 │   width: (4 / 3) * 1em;
   │           ^^^^^
    node_modules/flag-icon-css/sass/_flag-icon-base.scss 11:11  @import
    node_modules/flag-icon-css/sass/flag-icon.scss 2:9          root stylesheet
Originally created by @pwqw on GitHub (Sep 18, 2022). Original GitHub issue: https://github.com/lipis/flag-icons/issues/1039 ``` console WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(4, 3) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ 11 │ width: (4 / 3) * 1em; │ ^^^^^ ╵ node_modules/flag-icon-css/sass/_flag-icon-base.scss 11:11 @import node_modules/flag-icon-css/sass/flag-icon.scss 2:9 root stylesheet ```
kerem closed this issue 2026-03-03 14:38:45 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#487
No description provided.