Answer the question
In order to leave comments, you need to log in
How to skip file in Gulp task?
Tell me guys, there is a colors.scss file and the rest * .scss in short, you need it to be compiled in the same way but not compressed
gulp.task('css', function () {
gulp.src(path.src.style)
.pipe(plumber())
.pipe(gulpif(envDev, sourcemaps.init()))
.pipe(sass().on('error', sass.logError))
.pipe(gulpif(envDev, sourcemaps.write("./maps")))
.pipe(gulpif(!envDev, prefixer({browsers: prefixerBrowsers, cascade: false})))
.pipe(gulpif(!envDev, combineMq()))
.pipe(gulpif(!envDev , cssmin({restructuring: false})))
.pipe(gulp.dest(path.build.css));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question