1.0.8 • Published 3 years ago
postcss-plugin-own-px2rem v1.0.8
Installation
npm i --save postcss-plugin-own-px2rem
Usage
postcss.config.js
默认rpx会转换成px
Configuration
{
rootValue: 100,
unitPrecision: 5,
propWhiteList: [],
propBlackList: [],
exclude: false,
selectorBlackList: [],
ignoreIdentifier: false,
replace: true,
mediaQuery: false,
minPixelValue: 0
}