I have a sass file that imports all my scss files, I also use bower for some extra stuff, I import these files too. The problem is, one component only has css files, how can I import them into my sass file?
I'm using gulp to compile.
I have a sass file that imports all my scss files, I also use bower for some extra stuff, I import these files too. The problem is, one component only has css files, how can I import them into my sass file?
I'm using gulp to compile.
I use a gulp task that moves example.css
into a temporary build folder as example.scss
, which makes it importable.
fs.createReadStream('vendor/bower_components/bootstrap-sweetalert/lib/sweet-alert.css')
.pipe(fs.createWriteStream('public/css/_sweet-alert.scss'));