Skip to content

Instantly share code, notes, and snippets.

View CooLNuanfeng's full-sized avatar
😀
I may be slow to respond.

NewCoder CooLNuanfeng

😀
I may be slow to respond.
View GitHub Profile
@CooLNuanfeng
CooLNuanfeng / 01-gulpfile.js
Created February 22, 2016 02:12 — forked from markgoodyear/01-gulpfile.js
Comparison between gulp and Grunt. See http://markgoodyear.com/2014/01/getting-started-with-gulp/ for a write-up.
/*!
* gulp
* $ npm install gulp-ruby-sass gulp-autoprefixer gulp-cssnano gulp-jshint gulp-concat gulp-uglify gulp-imagemin gulp-notify gulp-rename gulp-livereload gulp-cache del --save-dev
*/
// Load plugins
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
autoprefixer = require('gulp-autoprefixer'),
cssnano = require('gulp-cssnano'),