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
╷
1 │ @import "./settings.scss";
│ ^^^^^^^^^^^^^^^^^
╵
build/scss/include.scss 1:9 @import
build/headers/windows/light.scss 4:9 root stylesheet
DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
More info and automated migrator: https://sass-lang.com/d/import
背景:在 #158 ,我们把 CI 中的 ruby-sass 替换为了 dart-sass
当
dart-sass
版本达到 1.80.0 以上后,在编译阶段会出现新警告。具体内容,参见 这个 CI job 的 compile 部分,以下贴出缩略版 log:访问 sass import 帮助文档,得知,我们项目的相关写法从 dart-sass 1.80.0 起被列为 deprecated,该写法将会在 3.0.0 移除。
虽然我不是很懂为什么 sass 社区在 2.0.0 没有稳定前就开始规划 3.0.0,但既然编译器这样报错了,那我们作为用户也只能尽早修复。
The text was updated successfully, but these errors were encountered: