@defy/postcss-px-to-viewport
v0.0.1
Published
给大佬开发的postcss-px-to-viewport添加exclude配置项,可以用来忽略引用node_modules里面第三方插件的样式
Downloads
4
Maintainers
Readme
在postcss-px-to-viewport基础上增加exclude配置项,可以忽略指定文件夹
"postcss-px-to-viewport": {
viewportWidth: 750,
viewportHeight: 1334,
unitPrecision: 3,
viewportUnit: 'vw',
selectorBlackList: ['.ignore', '.hairlines'],
minPixelValue: 1,
mediaQuery: false,
exclude: /(\/|\\)(node_modules)(\/|\\)/
},