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

可能加个排除目录或者文件的配置或者自动检测跳过样式代码块吗? #16

Closed
whidy opened this issue Jul 3, 2017 · 1 comment

Comments

@whidy
Copy link

whidy commented Jul 3, 2017

比如我写的scss文件中有import其他的css或者scss文件

@import '../vendor/swiper';
@import '../vendor/weui';

有没有办法跳过他们例如加个注释检测

/*do not transform start*/
@import '../vendor/swiper';
@import '../vendor/weui';
/*do not transform end*/

之类的.

@whidy
Copy link
Author

whidy commented Jul 3, 2017

不好意思.我觉得我这个功能多余了...
直接在入口文件引入css文件并且不对css进行px2rem的处理就行了...

@whidy whidy closed this as completed Jul 3, 2017
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

1 participant