A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units. The best choice to create a scalable interface on different displays by one design size.
@huge689 At first you need use postcss via https://github.com/postcss/postcss-loaderpostcss-px-to-viewport only plugin for postcss.
Scheme:
postcss-px-to-viewport => postcss => postcss-loader => webpack
how to use with webpack