Skip to content

Instantly share code, notes, and snippets.

@benjaminreid
Created October 22, 2014 19:45
Show Gist options
  • Save benjaminreid/669cb2e80506f53afb6d to your computer and use it in GitHub Desktop.
Save benjaminreid/669cb2e80506f53afb6d to your computer and use it in GitHub Desktop.
Gulp example
var gulp = require('gulp');
var bower = require('main-bower-files');
var rename = require('gulp-rename');
gulp.task('copy', function() {
gulp
.src(bower())
.pipe( rename({ extname: '.scss'}) )
.pipe( gulp.dest('./scss') );
});
gulp.task('sass', ['copy'], function() {
console.log('compiling sass...');
});
gulp.task('default', function() {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment