https://github.com/evrone/postcss-px-to-viewport/blob/master/README_CN.md
基本配置
// eslint-disable-next-line no-undef
module.exports = {
plugins: {
"postcss-px-to-viewport": {
viewportWidth: 375,
// viewportHeight: 667,
unitPrecision: 2,
viewportUnit: 'vw',
selectorBlackList: [],
minPixelValue: 1,
mediaQuery: false
}
}
};