I know this is probably a weird question, but stick with me. :)
Is it possible to use gulp sass (or other gulp plugins) to read a single .scss file with multiple @import statements, and import/concat all those @import-ed files to a single .scss file that is not compiled to CSS?
Background information: I've taken the Bootstrap and FontAwesome base .scss files and combined them into a single master .scss file. I now want to get all the files in the @import statements into a single .scss file.
Another option I thought of was to just use a concat tool, but then wouldn't I have to manually specify each file to be concat-ed in the gulp file? Correct me if I'm wrong though.
Example of what I'm looking for:
//base.scss
@import foo;
@import bar;
Imports
//foo.scss
$my-font-size:20px;
And
//bar.scss
body {
div {
font-size:$my-font-size;
}
}
To make
//final.scss
$my-font-size:20px;
body {
div {
font-size:$my-font-size;
}
}
Notice that the @import
s are included in the final.scss
file, but there isn't any compilation from SCSS -> CSS.