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 @import is deprecated #2837

Closed
2 tasks done
SixK opened this issue Jan 19, 2025 · 1 comment
Closed
2 tasks done

Sass @import is deprecated #2837

SixK opened this issue Jan 19, 2025 · 1 comment
Labels
dependencies Pull requests that update a dependency file 🗳️ feature

Comments

@SixK
Copy link

SixK commented Jan 19, 2025

Prerequisites

Proposal

Sass @import is deprecated and will be removed in Sass V3
@use is preferred now.
see https://sass-lang.com/documentation/breaking-changes/import/

migration commands:

$ npm install -g sass-migrator
$ sass-migrator module --migrate-deps your-entrypoint.scss

more informations on migration tool:
https://sass-lang.com/documentation/cli/migrator/

Even if Sass V3 may be far away, it would be nice to upgrade scss files.

Motivation and context

This will avoid numerous warnings and keep boosted usable in future

@louismaximepiton louismaximepiton added the dependencies Pull requests that update a dependency file label Jan 20, 2025
@louismaximepiton
Copy link
Member

Hey, thanks for your contribution, however, since we are Bootstrap based, we will probably won't fix it until itself change it. Here is the reference issue FYI: twbs/bootstrap#40962. There are plenty of message about how to avoid the deprecation warning, but the easiest way is probably to fix the Sass Version to 1.77.4 and wait.

Closing the issue since we won't do it on Boosted side, but feel free to reopen if you feel to discuss about this.

@louismaximepiton louismaximepiton closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file 🗳️ feature
Projects
None yet
Development

No branches or pull requests

2 participants