I am able to compile my SCSS to CSS with given destination. However not only I want the file to be compiled to CSS but would like the containing folder to be also copied to the destination. By giving folder to look at it should pick up each sub directory with scss file and output to destination.
- Project
-SCSS
-Home
-Style.scss
-About
-about.scss
-Dest
-Home //add directory path
-Style.css
-About
-about.css
My Gulp
gulp.task('build-css', function() {
return gulp.src(['./Project/SCSS/**/*.scss'])
.pipe(sass({
outputStyle: 'compressed'
}).on('error', sass.logError))
.pipe(prefix())
.pipe(gulp.dest('Content/Shared/Styles'))
.pipe(livereload());
});