gaosp
2024-01-17 89d83a582dda4d8afb8f099905fa2a3b5a6cb08b
.postcssrc.js
@@ -1,8 +1,8 @@
/*
 * @Date: 2019-11-21 14:21:14
 * @LastEditors: Sneed
 * @LastEditTime: 2024-01-04 21:19:30
 * @FilePath: /belleson-frontend/Users/mache/Library/Containers/com.tencent.xinWeChat/Data/Library/Application Support/com.tencent.xinWeChat/2.0b4.0.9/650b28d71b3acf9feb5c2af6da2686eb/Message/MessageTemp/650b28d71b3acf9feb5c2af6da2686eb/File/mdc-portal/.postcssrc.js
 * @LastEditTime: 2024-01-07 16:16:12
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/.postcssrc.js
 */
// https://github.com/michael-ciniawsky/postcss-load-config
@@ -15,7 +15,8 @@
    'postcss-pxtorem': {
        rootValue: 19, // 表示根元素字体大小或根据input参数返回根元素字体大小
        propList: ['*'], // 可以从px更改为rem的属性, 通配符*表示启用所有属性
        selectorBlackList: ['.norem'] // 过滤掉.norem开头的class,不进行rem转换
        selectorBlackList: ['.norem'], // 过滤掉.norem开头的class,不进行rem转换
        exclude: ['node_modules']
    }
  }
}