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

"include" option is no effect #56

Open chua1989 opened 4 years ago

chua1989 commented 4 years ago

"include" option is no effect

think2011 commented 3 years ago

The code downloaded by npm is not same as the code on github 😫

think2011 commented 3 years ago

https://github.com/evrone/postcss-px-to-viewport/blob/v1.1.1/index.js#L38

imwangpan commented 3 years ago

The code downloaded by npm is not same as the code on github 😫

@think2011 请问这个问题怎么解决呢?

think2011 commented 3 years ago

@imwangpan 过了这么久没解决,看起来不维护了,用回 rem 了

imwangpan commented 3 years ago

@imwangpan 过了这么久没解决,看起来不维护了,用回 rem 了

@think2011 暂时通过 npm i https://github.com/evrone/postcss-px-to-viewport --save-dev 解决了。