Open eugeneross opened 8 years ago
While running the gulp-ruby-sass task to convert .sass files to .css the style seems to be ignored while files are being concatenated. Example setup below that is returning concatenated files, but leaving them in the standard style.
// Styles gulp.task('styles', function(){ return sass('src/css/*.sass',{ style: 'compressed' }) .pipe(concatCss('style.css')) .on('error', errorLog) .pipe(autoprefixer({ browsers: ['last 2 versions'] })) .pipe(gulp.dest('build/css')) .pipe(browserSync.stream()) });
+1
I was also troubled by this question, When I use it to merge multiple compressed CSS files, It automatically formats the code.
While running the gulp-ruby-sass task to convert .sass files to .css the style seems to be ignored while files are being concatenated. Example setup below that is returning concatenated files, but leaving them in the standard style.