0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

deprecated and will be removed in Dart Sass 2.0.0.のエラー

Posted at

前提

Next.jsに移行中案件で発生した
※古い環境のものは結構メンテナンスされてないもの

結論

sassで非推奨になったものがあるらしい

@use "sass:math";

を読み込み

該当箇所を以下に変更

sassファイル(test.scss)


(($test-height - $test-computed) / 2);

⇓


math.div($test-height - $test-computed, 2);

nextでモジュールのsassを導入して、新規環境に移行中に発生したのですが
いい勉強になりました〜

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?