h5 星游企业版
This commit is contained in:
23
postcss.config.js
Normal file
23
postcss.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
//...其他配置
|
||||
css: {
|
||||
loaderOptions: {
|
||||
postcss: {
|
||||
plugins: [
|
||||
require('postcss-pxtorem')({
|
||||
rootValue: 75,
|
||||
propList: ['*'],
|
||||
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"plugins": {
|
||||
'postcss-pxtorem': {
|
||||
rootValue: 75,
|
||||
propList: ['*'],
|
||||
exclude: /node_modules/i // 不包含
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user