对gulp-sass使用灵活性

时间:2019-04-26 11:36:44

标签: sass flexbox gulp flexibility

很像这个问题:automate adding flexibility declaration with gulp我希望能够在编译时自动添加-js-display: flex;,但是要用gulp-sass而不是PostCSS。这是否可能,或者是否需要编写一个特定的插件?

https://github.com/10up/flexibility

.foo {
   display: flex;
}

待处理..

.foo {
   -js-display: flex;
   display: flex;
}

0 个答案:

没有答案