Releases: evrone/postcss-px-to-viewport
Releases · evrone/postcss-px-to-viewport
Version 1.1.1
Version 1.1.0
Added
landscape(Boolean) Adds@media (orientation: landscape)with values converted vialandscapeWidth.landscapeUnit(String) Expected unit forlandscapeoptionlandscapeWidth(Number) Viewport width for landscape orientation.
Fixed
mediaQueryoption iftruedoes not mutate its value now, but the rule inside it instead.
Version 1.0.0
We are pleased to present you updated postcss-px-to-viewport v1.0.0
We have made improvements that address the issues of active developers.
Added
replaceoption - (Boolean) replaces rules containingvwinstead of adding fallbacks.propListoption - (Array) The properties that can change frompxtovw.excludeoption - (Array or Regexp) Ignore some files likenode_modules.
Changed
- zero values now remain unitless.
- replace regexp is not case sensitive, so if you want to change
px, thenpXvalues won't be changed.