Skip to content

Sass deprecration warnings - @import with dart-sass #15518

@wheelercreek

Description

@wheelercreek

What is missing?

...

What is wrong now ?

I'm using dart-sass to compile the SCSS files, and it's firing several deprecation warnings. Specifically one big one is that the @import command is now deprecated. (https://sass-lang.com/documentation/breaking-changes/import/).
I couldn't find anything on it & this seems like a big one to fix.

...

Possible Solution

I attempted to run the sass-migrator tool (from dart-sass), and it gave this error:
Error: The migrator has found multiple possible migrations for ../node_modules/foundation-sites/scss/util/_util.scss, depending on the context in which it's loaded.
Migration failed!
...

Context

...

Your Environment

  • Foundation version(s) used:
  • Browser(s) name and version(s):
  • Device, Operating System and version:

Checklist

  • I have read and follow the CONTRIBUTING.md document.
  • There are no other issues similar to this one.
  • The issue title and template are correctly filled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions