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 07eb0b3 commit 9908007
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 1,433 deletions.
7 changes: 3 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
var gulp = require('gulp');
var sass = require('gulp-sass')(require('sass'));

gulp.task('css', function() {
var sass = require('gulp-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'));
});

gulp.task('css:watch', function() {
gulp.watch('./css/sass/*.scss', gulp.parallel('css'));
});
});
Loading

0 comments on commit 9908007

Please sign in to comment.