Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks
wheelercreek opened this issue Dec 24, 2024 · 0 comments
Open
3 tasks

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

wheelercreek opened this issue Dec 24, 2024 · 0 comments

Comments

@wheelercreek
Copy link

wheelercreek commented Dec 24, 2024

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.
@wheelercreek wheelercreek changed the title Are there plans or work being done on Foundation for Sites 7? Sass deprecration warnings, any plans for Foundation for Sites 7? Dec 24, 2024
@wheelercreek wheelercreek changed the title Sass deprecration warnings, any plans for Foundation for Sites 7? Sass deprecration warnings - @import with dart-sass Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant