我有一个scss文件,其中我不希望sass处理@import语句,因为它将由此postcss模块处理https://github.com/postcss/postcss-import
我怎么能用gulp-sass做到这一点?
答案 0 :(得分:0)
你根本无法做到。 Sass会将@import “some.css”
汇编为@import url(....css);
为什么不使用Postcss(和必要的插件)来编译.scss文件,这样postcss-import可以处理@import
。