星油H5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
528 B

module.exports = {
//...其他配置
css: {
loaderOptions: {
postcss: {
plugins: [
require('postcss-pxtorem')({
rootValue: 75,
propList: ['*'],
})
]
}
}
},
"plugins": {
'postcss-pxtorem': {
rootValue: 75,
propList: ['*'],
exclude: /node_modules/i // 不包含
}
}
}