Commit a5373bf5 by zhanghaozhe

添加跳过单位转换class模式

parent e8c1c6a7
...@@ -100,7 +100,8 @@ module.exports = function(webpackEnv) { ...@@ -100,7 +100,8 @@ module.exports = function(webpackEnv) {
}), }),
require('postcss-px-to-viewport')({ require('postcss-px-to-viewport')({
viewportWidth: 375, viewportWidth: 375,
unitPrecision: 6 unitPrecision: 6,
selectorBlackList: ['skip-vw']
}) })
], ],
sourceMap: isEnvProduction && shouldUseSourceMap, sourceMap: isEnvProduction && shouldUseSourceMap,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment