Is there a way to exclude a sass file when building? I have the following code:
function style() {
return gulp
.src(['./src/scss/**/*.scss', '!./src/scss/styleguide/**'])
.pipe(gulpif(isDevelopment, sourcemaps.init()))
.pipe(sassGlob())
.pipe(sass())
.on("error", sass.logError)
.pipe(postcss([autoprefixer(), cssnano()]))
.pipe(gulpif(isDevelopment, sourcemaps.write()))
.pipe(gulp.dest(paths.styles.dest))
.pipe(gulpif(isDevelopment, browserSync.stream()));}
I would like to exclude everything in the styleguide folder. Any ideas?