All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed
rule.source === undefined
frompostcss-modules-values
.
landscape
(Boolean) Adds@media (orientation: landscape)
with values converted vialandscapeWidth
.landscapeUnit
(String) Expected unit forlandscape
optionlandscapeWidth
(Number) Viewport width for landscape orientation.
mediaQuery
option iftrue
does not mutate its value now, but the rule inside it instead.
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
.
- zero values now remain unitless.
- replace regexp is now case sensitive, so if you want to change
px
, thenpX
values won't be changed.