For rails projects using sassc this is a problem. The app I currently work on is on most recent gems and packages for everything. We do a really good job at keeping everything up to date. Unfortunately these warnings have now turned into errors being raised in webpacker-dev-server.
I tested these changes by publishing my own npm package while pointing our Gemfile to my forked version.
If we could get a minor release with this and any other minor fixes that may be in that would be really appreciated 😄
Changes unknown
when pulling f2df56088ff646e3819ae80c4f420febc50435f0 on darrenterhune:dart-sass-2-0-deprecated-calc-upgrade-fontawesome-free
into on railsadminteam:master.
The
src/rails_admin/styles/base/theming.scss
used division calculations which causes deprecation warnings with dart sass >= 2.The fontawesome-free version also has the same problem.
Using calc() around the division math fixes the issue in theming.scss Upgrading fontawesome-free to the latest version fixes their issues
https://github.com/sass/sass/issues/2565 https://github.com/sass/dart-sass/issues/663
For rails projects using sassc this is a problem. The app I currently work on is on most recent gems and packages for everything. We do a really good job at keeping everything up to date. Unfortunately these warnings have now turned into errors being raised in
webpacker-dev-server
.I tested these changes by publishing my own npm package while pointing our
Gemfile
to my forked version.If we could get a minor release with this and any other minor fixes that may be in that would be really appreciated 😄