PopulateTools/gobierto

Upgrade sass semantics

Crashillo opened this issue · 0 comments

With the last upgrade to @rails/webpack 5.4.3 the console throws some deprecation warnings from dart sass

Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(-$size, 2)

Screenshot 2021-11-09 at 17 16 58

Originally posted by @jorgeatgu in #3987 (comment)

As @jorgeatgu mentioned there, sass code must be updated (the sooner the better) to remove deprecated stuff. Use the sass migration tool but watch out on the resulting style glitches (migration is not straightforward)