Skip to content

Commit

Permalink
minify the css output, use avalanche packages (fixes #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
maoberlehner committed Mar 4, 2016
1 parent f383f10 commit 09e6b37
Show file tree
Hide file tree
Showing 11 changed files with 557 additions and 768 deletions.
361 changes: 1 addition & 360 deletions assets/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ var eyeglass = require('eyeglass');
var gulp = require('gulp');
var autoprefixer = require('gulp-autoprefixer');
var cssGlobbing = require('gulp-css-globbing');
var cssnano = require('gulp-cssnano');
var minifyCss = require('gulp-minify-css');
var rename = require('gulp-rename');
var sass = require('gulp-sass');

Expand All @@ -43,6 +45,8 @@ gulp.task('styles:build', ['clean:styles'], function () {
}))
.pipe(sass(eyeglass(config.sassOptions)).on('error', sass.logError))
.pipe(autoprefixer())
.pipe(minifyCss())
.pipe(cssnano())
.pipe(rename(config.styles.destinationFileName))
.pipe(gulp.dest(config.styles.destination));
});
Expand Down
Loading

0 comments on commit 09e6b37

Please sign in to comment.