postcss-pxtorem 配置文件

This commit is contained in:
2021-02-08 00:44:19 +08:00
parent 4dd6af8f49
commit c730613052

14
postcss.config.js Normal file
View File

@@ -0,0 +1,14 @@
module.exports = {
plugins: {
'autoprefixer': {
overrideBrowserslist: [
'Android >= 4.0',
'iOS >= 8'
]
},
'postcss-pxtorem': {
rootValue: 16,
propList: ['*']
}
}
};