Skip to content

Instantly share code, notes, and snippets.

@cmalven

cmalven/gulpfile.js

Last active Aug 29, 2015
Embed
What would you like to do?
Faking Sass Globbing
// ...
gulp.task('concatStyles', function() {
return gulp.src(['assets/styles/objects/**/*.scss', 'assets/styles/layout/**/*.scss'])
.pipe(concat)
.pipe(gulp.dest('/'))
.pipe(concat('_combined-object-layout.scss'));
});
gulp.task('styles', ['concatStyles'], function() {
return gulp.src(['assets/styles/signal.scss'])
.pipe(sass)
.pipe(autoprefixer)
.pipe(gulp.dest('dist/'))
.pipe(livereload());
});
// ...
// Libraries
// ...
// Globals
// ...
// Objects and Layouts
@import "combined-object-layout";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.