15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
// 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
|
|
}
|
|
}
|
|
}
|