panlinlin
2021-02-26 d0f5d684a93db3a0c9a6f2373657b8f596cc47ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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
    }
  }
}