evrone / postcss-px-to-viewport

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.
https://evrone.com/postcss-px-viewport
MIT License
3.04k stars 406 forks source link

:bug: fixed postcss.atRule is not constructor error #69

Open preflower opened 4 years ago

preflower commented 4 years ago

atRule is not a constructor in postcss 8.0.3; so need to use AtRule alter it or remove new keywords. refer: https://postcss.org/api/#postcss-atrule

shuai4983958 commented 3 years ago

how to do

HuRuilin commented 2 years ago

项目停止更新勒吗?