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
2.98k stars 401 forks source link

postcss.atRule is not a constructor #153

Open luoqingshan1217 opened 1 year ago

luoqingshan1217 commented 1 year ago

配置landscape时,报错postcss.atRule is not a constructor,下个版本可以修复吗 目前手动修改index.js中atRule=>AtRule