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

Deprecation warnings from Sass about import #5410

Open
bartaz opened this issue Nov 6, 2024 · 1 comment
Open

Deprecation warnings from Sass about import #5410

bartaz opened this issue Nov 6, 2024 · 1 comment
Labels

Comments

@bartaz
Copy link
Member

bartaz commented Nov 6, 2024

Describe the bug

With recent update to sass 1.80 we get another wave of deprecations, now about the import rules: https://sass-lang.com/d/import

DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use map.get instead.

More info and automated migrator: https://sass-lang.com/d/import
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

As they are just warnings, and are only meant to affect Sass from version 3.0 (they haven't released 2.0 still), we can likely ignore it for now.

Our own setup makes those warnings quite verbose though. By default sass only shows them 5 times per stylesheet being built, but we build many (standalone) stylesheet, multiplying those warnings into dozens (or hundreds even).

We should reduce or silence them on our end. But also would be good to find out if it would be simple enough to migrate. They seem to provide some migration tool: https://sass-lang.com/d/import

@bartaz bartaz added the Bug 🐛 label Nov 6, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/WD-16563.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant