Skip to content

Version 1.0.0

Compare
Choose a tag to compare
@KODerFunk KODerFunk released this 28 Jan 15:48
· 26 commits to master since this release

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 containing vw instead of adding fallbacks.
  • propList option - (Array) The properties that can change from px to vw.
  • exclude option - (Array or Regexp) Ignore some files like node_modules.

Changed

  • zero values now remain unitless.
  • replace regexp is not case sensitive, so if you want to change px, then pX values won't be changed.