Skip to content

Commit

Permalink
Bump versions and update gulp task.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Sep 23, 2021
1 parent adcb16c commit ef3dec4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4,754 deletions.
5 changes: 2 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
var gulp = require('gulp');

gulp.task('css', function() {
var sass = require('gulp-sass');
var sass = require('gulp-sass')(require('sass'));
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');

return gulp.src('./css/sass/*.scss')
.pipe(sass({
outputStyle: 'nested',
includePaths: ['../../node_modules/susy/sass']
}).on('error', sass.logError))
.pipe(postcss([
autoprefixer({browsers: ['> 5%', '> 5% in US', 'last 2 versions']})
autoprefixer()
]))
.pipe(gulp.dest('./css'));
});
Expand Down
Loading

0 comments on commit ef3dec4

Please sign in to comment.