支持字体大小调整,方便扩展功能

pull/45/head
Lawrence 2021-01-21 19:51:23 +08:00
parent ff7ecd270c
commit 0456d6e357
1 changed files with 8 additions and 1 deletions

View File

@ -5,6 +5,13 @@ module.exports = {
"postcss-import": {},
"postcss-url": {},
// to edit target browsers: use "browserslist" field in package.json
"autoprefixer": {}
"autoprefixer": {},
'postcss-pxtorem': {
rootValue: 24,
propList: ['font-size'] // 只转化font-size
// propList: ['*'], // 转化全部
// propList: ['*','!border'], //转化全部除了border属性
// selectorBlackList: ['body'] // 过滤掉.am-开头的class不进行rem转换
}
}
}