Skip to content

Commit

Permalink
swap gulp-minify-css for gulp-cssnano
Browse files Browse the repository at this point in the history
  • Loading branch information
callmecavs committed Jan 4, 2016
1 parent eaad643 commit a598a03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import browserify from 'browserify'
import gulp from 'gulp'
import autoprefixer from 'gulp-autoprefixer'
import changed from 'gulp-changed'
import nano from 'gulp-cssnano'
import fileinclude from 'gulp-file-include'
import htmlmin from 'gulp-htmlmin'
import imagemin from 'gulp-imagemin'
import minify from 'gulp-minify-css'
import plumber from 'gulp-plumber'
import sass from 'gulp-sass'
import sourcemaps from 'gulp-sourcemaps'
Expand Down Expand Up @@ -50,7 +50,7 @@ gulp.task('sass', () => {
.pipe(sourcemaps.init())
.pipe(sass())
.pipe(autoprefixer({ browsers: [ 'last 2 versions', 'ie >= 9', 'Android >= 4.1' ] }))
.pipe(minify())
.pipe(nano({ safe: true }))
.pipe(sourcemaps.write('./maps', { addComment: false }))
.pipe(gulp.dest('dist'))
})
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"gulp": "*",
"gulp-autoprefixer": "*",
"gulp-changed": "*",
"gulp-cssnano": "*",
"gulp-file-include": "*",
"gulp-htmlmin": "*",
"gulp-imagemin": "*",
"gulp-minify-css": "*",
"gulp-plumber": "*",
"gulp-sass": "*",
"gulp-sourcemaps": "*",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "outset",
"version": "3.3.0",
"version": "3.3.1",
"description": "Minimal, unassuming, front-end foundation. Configured for HTML5 and Sass, built with Browserify and Gulp.",
"homepage": "https://github.com/callmecavs/outset",

Expand Down

0 comments on commit a598a03

Please sign in to comment.