Last active
August 29, 2015 14:14
-
-
Save cmalven/fb5447a840783a4ad258 to your computer and use it in GitHub Desktop.
Faking Sass Globbing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
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()); | |
}); | |
// ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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