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

TypeError: postcss.atRule is not a constructor #90

Closed huyanhai closed 3 years ago

huyanhai commented 3 years ago

"postcss": "^8.2.8",

shuai4983958 commented 3 years ago

why?