Skip to content

Migrator leads to bugs when migrator ran #285

@EssiJunior

Description

@EssiJunior

After updating sass from 1.77.6 -> 1.93.0, I recieved an error in the console..

Deprecation Warning [import]: 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

As recommended in the link provided https://sass-lang.com/d/import, I installed the sass-migrator , I faced an error after launching it with

sass-migrator module --migrate-deps src/styles/about.scss

It generated a bunch of errors, at the import and on variables used

@use '../index.scss' as ; //HERE

main.about {
    background-color: .$bg; //HERE
    @include .flex(column); //HERE
...

Metadata

Metadata

Assignees

Labels

needs infoAwaiting a response with more info from the reporter

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions