Minor edits to Gulpfile

This commit is contained in:
Michael Rose 2016-03-09 12:10:43 -05:00
parent c19cd2a391
commit a5f8516ef5
2 changed files with 12 additions and 13 deletions

View file

@ -27,7 +27,7 @@ var pngquant = require('imagemin-pngquant');
*
**/
gulp.task('css', function() {
gulp.src('_assets/css/**/*.scss')
return gulp.src('_assets/css/**/*.scss')
.pipe(sass({outputStyle: 'compressed'}))
.pipe(prefix('last 2 versions', '> 5%', 'ie 9'))
.pipe(plumber())
@ -43,7 +43,7 @@ gulp.task('css', function() {
*
**/
gulp.task('scripts', function() {
gulp.src(['_assets/js/*.js', '_assets/js/plugins/*.js'])
return gulp.src(['_assets/js/*.js', '_assets/js/plugins/*.js'])
.pipe(uglify())
.pipe(rename({
basename: "main",

View file

@ -16,7 +16,6 @@
},
"homepage": "https://github.com/mmistakes/minimal-mistakes",
"devDependencies": {
"browser-sync": "^2.11.1",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.0",
"gulp-imagemin": "^2.4.0",