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

Using / for division is deprecated #16

Closed
codesman opened this issue Feb 25, 2022 · 1 comment
Closed

Using / for division is deprecated #16

codesman opened this issue Feb 25, 2022 · 1 comment

Comments

@codesman
Copy link

This is not a defect per se, but it is causing tons of log spam in our CI. Several hundred of these logs, 1K+ lines.

LOG from ../../node_modules/@nrwl/web/node_modules/sass-loader/dist/cjs.js sass-loader ../../node_modules/@nrwl/web/src/utils/webpack/plugins/raw-css-loader.js!../../node_modules/@nrwl/web/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[5].use[2]!../../node_modules/@nrwl/web/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[5].use[3]!../../libs/apps-feature.scss
[187](https://example.com/-/jobs/26130309#L187) <w> Deprecation Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
[188](https://example.com/-/jobs/26130309#L188) <w> 
[189](https://example.com/-/jobs/26130309#L189) <w> Recommendation: math.div($value, $rem-baseline)
[190](https://example.com/-/jobs/26130309#L190) <w> 
[191](https://example.com/-/jobs/26130309#L191) <w> More info and automated migrator: https://sass-lang.com/d/slash-div
[192](https://example.com/-/jobs/26130309#L192) <w> 
[193](https://example.com/-/jobs/26130309#L193) <w> node_modules/sass-rem/_rem.scss 35:32                             rem-convert()
[194](https://example.com/-/jobs/26130309#L194) <w> node_modules/sass-rem/_rem.scss 53:13                             rem()
[195](https://example.com/-/jobs/26130309#L195) <w> libs/apps-feature.scss 4:17  root stylesheet
[196](https://example.com/-/jobs/26130309#L196) <w>
@pierreburel
Copy link
Owner

sass-rem@3.0 should fix that if you use dart-sass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants