[GH-ISSUE #839] DartSass Warning #408

Closed
opened 2026-03-03 14:38:10 +03:00 by kerem · 1 comment
Owner

Originally created by @jonaaix on GitHub (Jul 11, 2021).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/839

Using with Angular 12 generates this warning. Might be helpful

Generating browser application bundles (phase: building)...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          @import
    src/app/theme/index.scss 4:9                                @import
    src/styles.scss 2:9                                         root stylesheet
Originally created by @jonaaix on GitHub (Jul 11, 2021). Original GitHub issue: https://github.com/lipis/flag-icons/issues/839 Using with Angular 12 generates this warning. Might be helpful ``` Generating browser application bundles (phase: building)...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 @import src/app/theme/index.scss 4:9 @import src/styles.scss 2:9 root stylesheet ```
kerem closed this issue 2026-03-03 14:38:11 +03:00
Author
Owner

@Findus23 commented on GitHub (Jul 11, 2021):

I think this should be solved with https://github.com/lipis/flag-icon-css/pull/838

<!-- gh-comment-id:877769299 --> @Findus23 commented on GitHub (Jul 11, 2021): I think this should be solved with https://github.com/lipis/flag-icon-css/pull/838
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#408
No description provided.