Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加一个 selectorBlackList 选项? #2

Open
xianshenglu opened this issue Jun 25, 2018 · 3 comments
Open

加一个 selectorBlackList 选项? #2

xianshenglu opened this issue Jun 25, 2018 · 3 comments

Comments

@xianshenglu
Copy link

有空的话,要不要参考这个插件 px-to-viewport 加一个 selectorBlackList 选项?

  selectorBlackList: [],

@meltifa
Copy link
Owner

meltifa commented Jun 25, 2018

理由是?目前提供的选项个人认为比原版要强
开发这个插件的初衷就是觉得selectorBlackList太难用了,所以暂时没有添加的计划

@xianshenglu
Copy link
Author

也许以后用得到呢 ? 虽然我主要是为了propertyBlackList来的,不过这样不会让插件更完美一点?

@Jancat
Copy link

Jancat commented Sep 4, 2018

支持增加 selectorBlackList 选项,确实存在需要忽略特定选择器的场景,比如 node_modules 中的某些样式规则

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants