From b4e7f01ccfebf22dafcf3855b7b3ec61c75684df Mon Sep 17 00:00:00 2001 From: Brittany Chiang Date: Wed, 15 Mar 2017 14:01:40 -0400 Subject: [PATCH] did it hell yeah --- build/images.js | 2 +- build/sass.js | 7 ++++--- build/scripts.js | 10 +++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/build/images.js b/build/images.js index 4abdd80..2281004 100644 --- a/build/images.js +++ b/build/images.js @@ -7,7 +7,7 @@ module.exports = gulp => { gulp.task('images', () => { return gulp.src( imgPath ) - .pipe(imagemin()) + .pipe( imagemin() ) .pipe(gulp.dest( destPath )); }); diff --git a/build/sass.js b/build/sass.js index fbc5e24..e53539f 100644 --- a/build/sass.js +++ b/build/sass.js @@ -2,8 +2,8 @@ const sass = require('gulp-sass'); const prefix = require('gulp-autoprefixer'); const cleanCSS = require('gulp-clean-css'); -const scssPath = '_scss/*.scss'; -const destPath = '_site/css'; +const scssPath = '_scss/*.scss'; +const destPath = '_site/css'; module.exports = gulp => { @@ -13,9 +13,10 @@ module.exports = gulp => { includePaths: ['scss'], outputStyle: 'expanded' })) - .pipe(prefix(['last 15 versions', '> 1%', 'ie 8', 'ie 7'], {cascade: true})) + .pipe(prefix(['last 15 versions'], {cascade: true})) .pipe(cleanCSS({compatibility: 'ie8'})) .pipe(gulp.dest( destPath )) .pipe(gulp.dest('css')); }); + } \ No newline at end of file diff --git a/build/scripts.js b/build/scripts.js index 3d0bbdc..ea3289b 100644 --- a/build/scripts.js +++ b/build/scripts.js @@ -1,8 +1,8 @@ -const jshint = require('gulp-jshint'); -const babel = require('gulp-babel'); -const uglify = require('gulp-uglify'); +const jshint = require('gulp-jshint'); +const babel = require('gulp-babel'); +const uglify = require('gulp-uglify'); -const jsPath = '_scripts/*.js'; +const jsPath = '_scripts/*.js'; const destPath = '_site/js'; module.exports = gulp => { @@ -13,7 +13,7 @@ module.exports = gulp => { .pipe(babel({ presets: ['es2015'] })) - .pipe(uglify()) + .pipe( uglify() ) .pipe(gulp.dest( destPath )) .pipe(gulp.dest( 'js' )); });