Open arnriu opened 2 weeks ago
Problem seems to happen since this commit from @julien-deramond , and more specifically, from the last line in variables.scss
.
If I comment it out, everything is fine.
@import "variables-dark"; // TODO: can be removed safely in v6, only here to avoid breaking changes in v5.3
Prerequisites
Describe the issue
Since bootstrap 5.3.3, dart-sass 1.77.1 is not compiling. If I go back to bootstrap 5.3.2, everything is fine. If I switch to original sass 1.77.1, everything is fine.
Error in console:
Reduced test cases
You can try this devbox with bootstrap 5.3.3.
npm start
fails Now in package.json , change bootstrap to 5.3.2, thennpm i && npm start
. It works.I only imported 2 files in index.sass, for minimum case. First is
functions.scss
which seems to be ok in both versions, second isvariables.scss
, which fails in 5.3.3.https://codesandbox.io/p/devbox/competent-mahavira-4vgdjg?embed=1&file=%2Fpackage.json
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
5.3.3