Skip to content

Fix/sass deprecation warnings #523

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

Merged

Conversation

jakob-info
Copy link
Contributor

@jakob-info jakob-info commented May 2, 2025

Sass legacy JS API

The API is used by vite. Vite 5.4 has a config option to enable sass's new API. That fixes that issue. To achive this the minor version of dev dependencies got bumped. Minor versions do not include breaking changes.

Sass @import rule

The syntax for @import "mixins" in all .scss files got changed. Additionally the old global built-in functions map-has-key() and map-get() got replaced with map.has-key() and map.get(). Moreover, all rules like display: block have to be at the top when using nesting to obide vanilla css rules.

Fixes #522.

Checklist

  • I have read the contributing guidelines.
  • My code is of good quality and follows the coding standards of the project.
  • I have tested my changes, and they work as expected.

Thank you for your contribution! 🎉

P. S. Consider a bot that automatically updates minor versions

@daveearley
Copy link
Contributor

Thank you! I'll test and merge this soon. Much appreciated

@daveearley daveearley merged commit 922b1d5 into HiEventsDev:develop May 7, 2025
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛Sass legacy deprecation warnings i build process
2 participants