We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support ignore specified prop and value change from px to rem
{ rootValue: 100, unitPrecision: 5, propWhiteList: [], propBlackList: [], selectorBlackList: [], ignoreIdentifier: false, + ignorePropAndValue: [{ border: ['1px' ] } , { margin: ['1px', '5px'] }], replace: true, mediaQuery: false, minPixelValue: 0 }
The text was updated successfully, but these errors were encountered:
增强replace函数,把prop,selector,文件名和文件路径作为参数传递进去,理论上就可以覆盖100%场景了
replace
Sorry, something went wrong.
目前配置的 replace 是一种 fallback 机制
另外你说的增强 replace 函数,如果指的是那个正则表达式,那基本解决不了你的需求. 基于性能考虑,正则阶段是获取到 value 而不是表达式即 decl 阶段。
所以最好的解决方式是我上面那种方案。
How to use it with "@Keyframes"
enable mediaQuery
作者大大,最新版本怎么没这个属性
No branches or pull requests
support ignore specified prop and value change from px to rem
{ rootValue: 100, unitPrecision: 5, propWhiteList: [], propBlackList: [], selectorBlackList: [], ignoreIdentifier: false, + ignorePropAndValue: [{ border: ['1px' ] } , { margin: ['1px', '5px'] }], replace: true, mediaQuery: false, minPixelValue: 0 }
The text was updated successfully, but these errors were encountered: