Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
问题描述:之前使用过 node-sass,后来改为 dart-sass ,这货就开始犯傻,幸亏有大佬已经解决过,记录一下…40% building 1/4 modules 3 active ...-app-class-teaching-activity-history-records-list\src\components\headerSelectExercise\headerSelectExer
·
问题描述:
之前使用过 node-sass,后来改为 dart-sass ,这货就开始犯傻,幸亏有大佬已经解决过,记录一下…
40% building 1/4 modules 3 active ...-app-class-teaching-activity-history-records-list\src\components\headerSelectExercise\headerSelectExercise.vue?vue&type=style&index=0&id=04fdc1ef&scoped=true&lang=scss&D
EPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($px, $html-font-size)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
18 │ @return $px / $html-font-size * 1rem;
│ ^^^^^^^^^^^^^^^^^^^^^
╵
src\assets\scss\variable.scss 18:11 computer()
src\assets\scss\coverAntd.scss 4:16 @import
src\assets\scss\index.scss 8:9 @import
stdin 477:9 root stylesheet
解决方案:
"sass": "^1.26.5", 替换为 "sass": "~1.26.5",
参考:
更多推荐
已为社区贡献4条内容
所有评论(0)