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
Is your feature request related to a problem? Please describe
Hey, just came across the following. We compile the scss from bootstrap package via typo3_encore and Webpack Encore (NodeJS). With the the latest version of dart-sass this resulted in some deprecation warnings.
This is because the official implementation for sass - dart-sass - will drop support for using "/" as a division operator:
Since sass v1.33.0 they implemented the following deprecation warning:
Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation Using / fordivision outside of calc() is deprecated and will be removedin Dart Sass 2.0.0.
Recommendation: math.div($grid-gutter-width, 2) or calc($grid-gutter-width / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
public/typo3conf/ext/bootstrap_package/Resources/Public/Scss/components/_navbar.scss 136:25 @import
Reproduction is possible via:
Download bootstrap package
Run npx sass Resources/Public/Scss/bootstrap5/theme.scss output.css (this will use latest version 1.57.1)
Describe the solution you'd like
Sass project states:
"Recommendation: math.div($grid-gutter-width, 2) or calc($grid-gutter-width / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div"
Would be cool if these warnings would be fixed, since there is no option to disable this behaviour in dart-sass.
Describe alternatives you've considered
Stick to scssphp ;-)
Currently I downgraded dart sass to last version before 1.33 "sass": "~1.32.13" to ged rid of these warnings while developing
Additional context
Since bootstrap_package uses scssphp by default, I did not commit this as "bug". scssphp states "Note that scssphp is not fully compliant with the Sass specification yet. Sass modules are not implemented yet either." - but maybe they will also drop support for "/" as division operator in future?
Thanks for providing the bootstrap package as OS, very much appreciated, cheers!
The text was updated successfully, but these errors were encountered:
Feature Request
Is your feature request related to a problem? Please describe
Hey, just came across the following. We compile the scss from bootstrap package via typo3_encore and Webpack Encore (NodeJS). With the the latest version of dart-sass this resulted in some deprecation warnings.
This is because the official implementation for sass - dart-sass - will drop support for using "/" as a division operator:
Breaking Change: Slash as Division
Since sass v1.33.0 they implemented the following deprecation warning:
Reproduction is possible via:
npx sass Resources/Public/Scss/bootstrap5/theme.scss output.css
(this will use latest version 1.57.1)Describe the solution you'd like
Sass project states:
"Recommendation: math.div($grid-gutter-width, 2) or calc($grid-gutter-width / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div"
Would be cool if these warnings would be fixed, since there is no option to disable this behaviour in dart-sass.
Describe alternatives you've considered
"sass": "~1.32.13"
to ged rid of these warnings while developingAdditional context
Since bootstrap_package uses scssphp by default, I did not commit this as "bug". scssphp states "Note that scssphp is not fully compliant with the Sass specification yet. Sass modules are not implemented yet either." - but maybe they will also drop support for "/" as division operator in future?
Thanks for providing the bootstrap package as OS, very much appreciated, cheers!
The text was updated successfully, but these errors were encountered: