648540858
2022-04-21 d7bfd9bfa7af26d6c76fe771bb8cfe0d3f84da5e
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: 16,
      propList: ['font-size'] // 只转化font-size
    }
  }
}