I'm trying to compile some .scss with the following Gulp task:
var gulp = require("gulp"),
rimraf = require("rimraf"),
concat = require("gulp-concat"),
cssmin = require("gulp-cssmin"),
uglify = require("gulp-uglify"),
sass = require('gulp-sass');
var paths = {
webroot: "./wwwroot/"
};
paths.sass = paths.webroot + "lib/foundation-apps/scss/**/*.scss";
gulp.task('sass', function () {
gulp.src(paths.sass)
.pipe(sass())
.pipe(gulp.dest(paths.webroot + '/css/'));
});
This is the output of the command:
but the following is the compile result:
Why only the foundation.scss is compiled?