Skip to content
Snippets Groups Projects
Commit 2635dd76 authored by David Miller's avatar David Miller Committed by GitHub
Browse files

Merge pull request #84 from wbagdon/patch-1

Run less before minift-css
parents ed649c25 82ca7919
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ gulp.task('less', function() {
});
// Minify CSS
gulp.task('minify-css', function() {
gulp.task('minify-css', ['less'], function() {
return gulp.src('css/freelancer.css')
.pipe(cleanCSS({ compatibility: 'ie8' }))
.pipe(rename({ suffix: '.min' }))
......@@ -99,4 +99,4 @@ gulp.task('dev', ['browserSync', 'less', 'minify-css', 'minify-js'], function()
// Reloads the browser whenever HTML or JS files change
gulp.watch('*.html', browserSync.reload);
gulp.watch('js/**/*.js', browserSync.reload);
});
\ No newline at end of file
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment