fix: 提交 uni-scss 到 git,删除未使用的 uni_modules 插件
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Failing after 31s
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Failing after 31s
- 修改 .gitignore: uni_modules/ → /uni_modules/,仅忽略根目录 - 保留 src/uni_modules/uni-scss(构建依赖的 SCSS 变量文件) - 删除 46 个未使用的 uni-ui 插件 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
@mixin get-styles($k,$c) {
|
||||
@if $k == size or $k == weight{
|
||||
font-#{$k}:#{$c}
|
||||
}@else{
|
||||
#{$k}:#{$c}
|
||||
}
|
||||
}
|
||||
|
||||
@each $key, $child in $uni-headings {
|
||||
/* #ifndef APP-NVUE */
|
||||
.uni-#{$key} {
|
||||
@each $k, $c in $child {
|
||||
@include get-styles($k,$c)
|
||||
}
|
||||
}
|
||||
/* #endif */
|
||||
/* #ifdef APP-NVUE */
|
||||
.container .uni-#{$key} {
|
||||
@each $k, $c in $child {
|
||||
@include get-styles($k,$c)
|
||||
}
|
||||
}
|
||||
/* #endif */
|
||||
}
|
||||
Reference in New Issue
Block a user