Skip to content

The latest version of SASS has deprecated @include #160

Open
necolas/normalize.css
#916
@chrishough

Description

@chrishough

The latest version of SASS has deprecated @include...

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

  ╷
1 │ @import 'normalize/variables';
  │         ^^^^^^^^^^^^^^^^^^^^^
  ╵
    node_modules/normalize-scss/sass/_normalize.scss 1:9  @use
    source/assets/stylesheets/vendor/_libraries.scss 1:1  @use
    stdin 3:1                                             root stylesheet

DEPRECATION WARNING: 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

  ╷
2 │ @import 'normalize/vertical-rhythm';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    node_modules/normalize-scss/sass/_normalize.scss 2:9  @use
    source/assets/stylesheets/vendor/_libraries.scss 1:1  @use
    stdin 3:1                                             root stylesheet

DEPRECATION WARNING: 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

  ╷
3 │ @import 'normalize/normalize-mixin';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    node_modules/normalize-scss/sass/_normalize.scss 3:9  @use
    source/assets/stylesheets/vendor/_libraries.scss 1:1  @use
    stdin 3:1

If we change the include to this, it fixes the issue..

@use 'normalize/variables';
@use 'normalize/vertical-rhythm';
@use 'normalize/normalize-mixin';

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