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 forlandscape
optionlandscapeWidth
(Number) Viewport width for landscape orientation.
Fixed
mediaQuery
option iftrue
does 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
replace
option - (Boolean) replaces rules containingvw
instead of adding fallbacks.propList
option - (Array) The properties that can change frompx
tovw
.exclude
option - (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
, thenpX
values won't be changed.