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

feature: add include option and amended the default value of exclude in the document #50

Closed IceApriler closed 4 years ago

IceApriler commented 4 years ago

To selectively convert files, add this option.

exclude andinclude can be set together, and the intersection of the two rules will be taken.

At the same time amended the default value of exclude in the document is undefined.

fireswork commented 4 years ago

@KODerFunk When can i use this option? just support exclude is so stupid

IceApriler commented 4 years ago

Hi, buddy, when can you merge this pull request ? I think it's very helpful. @KODerFunk

KODerFunk commented 4 years ago

@fireswork yes! Need some days for recheck master and release new version) @IceApriler hi! Sorry for delay, yes! 感谢您的贡献。