You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, node-sass is deprecated in Bootstrap v5. Is there any reason to keep it ? Is that a check for the retro-compatibility of this library ?
The second motivation needs a bit more context. I'm trying to build a component that needs to concatenate strings inside a CSS variable (something that could happen in Bootstrap). The first issue here comes from the way that Sass compiles its variables inside a #{}, Sass unquotes strings inside. A workaround exists : @use "sass:meta". However, node-sass doesn't compile @use and so the CI fails as you can see here (We are using the same CI as Bootstrap).
I'm open to any thoughts.
The text was updated successfully, but these errors were encountered:
V5 does not fully handle Dart Sass, trying only to stay compatible with both compilers.
In your case, you may use the inspect() Sass function, which existed before Dart Sass and is already used through Bootstrap and Boosted, if I recall correctly.
Prerequisites
Proposal
Remove the
node-sass
workflow in v5.Motivation and context
Here are my two motivations:
node-sass
is deprecated in Bootstrap v5. Is there any reason to keep it ? Is that a check for the retro-compatibility of this library ?#{}
, Sass unquotes strings inside. A workaround exists :@use "sass:meta"
. However,node-sass
doesn't compile@use
and so the CI fails as you can see here (We are using the same CI as Bootstrap).I'm open to any thoughts.
The text was updated successfully, but these errors were encountered: