How to add @import "some.css" and not have it processed by Sass

818 views Asked by At

I have a scss file in which I do not want sass to process an @import statement as it will be processed by this postcss module https://github.com/postcss/postcss-import

How can I do this using gulp-sass?

1

There are 1 answers

0
user1275105 On

You simply can't. Sass will compile @import “some.css” to @import url(....css);

Why don't you use Postcss (and neccessary plugins) to compile your .scss file and that way postcss-import can deal with the @import.