Fix deprecation warning with Sass 1.77.7 - #477
Conversation
33121de to
d8e3796
Compare
|
I'd love to help push this forward, but at this point I'm running into the issue of LibSass and Dart Sass having diverged quite significantly (mixed-decls, CSS |
|
Even though I'm part of the Bootstrap core team, I've never really participated in maintaining this repo, apart from this draft PR, so I don't want to speak for the RFS maintainers. What I can say, though, is that the situation on the Bootstrap side (the main repo) is clearer now than it was in 2024, when I opened this PR:
On top of that, Bootstrap v6 no longer uses RFS. So, perhaps RFS could take a similar path and drop LibSass/Node Sass support in a new major version, allowing the codebase to move forward with modern Dart Sass without having to preserve compatibility with an EOL implementation. That's just one possible direction, of course, but it might be worth considering. Note: I'll probably close this draft PR |
I've created a new draft PR ( #499 ) with my changes regarding a couple of syntax changes, and moving LibSass support to a new entrypoint |
Warning
This PR is a draft probably tackling only a part of the problem
Warning
#474 (comment) has not been tested out as it might be another issue
Closes #474
Description
This PR is an attempt to fix #474.
Context
The issue comes from our internal mixins
_rfs-ruleand_rfs-media-query-rulethat can both render@content;without any selector; that causes for instance this kind of rules:Since there are supposed to be internal mixins, I supposed that I could modify them without any problems for users, and chose to only extract the problematic rule from
_rfs-media-query-rule, and use it before calling_rfs-rule:Maybe there's a smarter way of doing it, but I'm not that familiar with this repo.