Skip to content

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

@dkniffin

Description

@dkniffin

I've recently switched my application over to use dart-sass, and I'm seeing this deprecation warning:

css             | Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
css             |
css             | More info and automated migrator: https://sass-lang.com/d/import
css             |
css             |   ╷
css             | 3 │ @import 'tocbot-core';
css             |   │         ^^^^^^^^^^^^^
css             |   ╵
css             |     tocbot/src/scss/tocbot.scss 3:9                                  @use
css             |     app/assets/stylesheets/styles/5_pages/components_index.scss 1:1  @use
css             |     app/assets/stylesheets/styles/5_pages/_index.scss 83:1           @use
css             |     app/assets/stylesheets/5_pages.scss 9:1                          root stylesheet
css             |
css             | Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
css             |
css             | More info and automated migrator: https://sass-lang.com/d/import
css             |
css             |   ╷
css             | 4 │ @import 'tocbot-default-theme';
css             |   │         ^^^^^^^^^^^^^^^^^^^^^^
css             |   ╵
css             |     tocbot/src/scss/tocbot.scss 4:9                                  @use
css             |     app/assets/stylesheets/styles/5_pages/components_index.scss 1:1  @use
css             |     app/assets/stylesheets/styles/5_pages/_index.scss 83:1           @use
css             |     app/assets/stylesheets/5_pages.scss 9:1                          root stylesheet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions