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

18 lines
561 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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转换
}
}
}