You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
561 B
17 lines
561 B
// https://github.com/michael-ciniawsky/postcss-load-config
|
|
|
|
module.exports = {
|
|
"plugins": {
|
|
"postcss-import": {},
|
|
"postcss-url": {},
|
|
// to edit target browsers: use "browserslist" field in package.json
|
|
"autoprefixer": {},
|
|
'postcss-pxtorem': {
|
|
rootValue: 24,
|
|
propList: ['font-size'] // 只转化font-size
|
|
// propList: ['*'], // 转化全部
|
|
// propList: ['*','!border'], //转化全部,除了border属性
|
|
// selectorBlackList: ['body'] // 过滤掉.am-开头的class,不进行rem转换
|
|
}
|
|
}
|
|
}
|
|
|