Skip to content

Sass @import Deprecation warning #1105

@gregor-tusar

Description

@gregor-tusar

I've installed flowbite and tailwind following the docs.

After I run my app (Angular 20) I get some deprecation warnings in my console

▲ [WARNING] Deprecation [plugin angular-sass]

    myproject/src/styles.scss:3:8:
      3 │ @import "flowbite/src/themes/default";
        ╵         ^


  Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

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

  The plugin "angular-sass" was triggered by this import

    angular:styles/global:styles:1:8:
      1 │ @import 'myproject/src/styles.scss';

Is there any was to avoid this warning in the future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions