ModuleWarning: Module Warning (from ./node_modules/.pnpm/sass-loader@14.2.1_sass@1.89.2_webpack@5.99.9_@swc+core@1.3.96_/node_modules/sass-loader/dist/cjs.js):
Deprecation Warning on line 0, column 8 of file:///Users/uu/fe-taro-uu/src/components/FetchList/components/Horizontal.vue:0:8:
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
0 | @import "@nutui/nutui-taro/dist/styles/variables.scss";
NutUI 包名
@nutui/nutui-taro
这个功能解决了什么问题?
sass-loader,但实测不生效。可能是 webpack-merge 在 dev/prod 合并时把 Taro 的自定义顶层字段过滤掉了
后续这个 warning 会自然消失的条件(任一)
你期望的组件设计是怎样的?
做相关升级, 去掉warning