wvp-gb28181-project/web_src/.postcssrc.js

18 lines
561 B
JavaScript
Raw Normal View History

2020-10-12 10:11:24 +08:00
// 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转换
}
2020-10-12 10:11:24 +08:00
}
}