feat(config): 添加全局SASS/SCSS导入配置

设置`sassCommonUseFilePath`和`scssCommonUseFilePath`以引用全局SASS和SCSS文件,实现项目范围内的样式导入,无需在每个组件中显式编写@use语句。
This commit is contained in:
熊熊熊子路 committed 2026-07-31 11:32:16 +08:00
1 parent f19f4b8d41
commit 99e49ef286
1 file changed
+5 -1
+5 -1
View File
@@ -38,7 +38,11 @@
"swc": true,
"disableSWC": false,
"disableUseStrict": false,
"urlCheck": false
"urlCheck": false,
"sassSetting": {
"sassCommonUseFilePath": "global.sass",
"scssCommonUseFilePath": "global.scss"
}
},
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},