Last active
September 27, 2015 14:44
-
-
Save adammcarth/65fb65bdae5e8f969951 to your computer and use it in GitHub Desktop.
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
module.exports = { | |
"normal": [ | |
"reset.css", | |
"public_styles.css" | |
], | |
"admin": [ | |
"reset.css", | |
"bootstrap.css", | |
"admin_styles.css" | |
] | |
} |
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
var gulp = require("gulp"); | |
var collections = require("./collections"); | |
gulp.task("concat-css", function() { | |
Object.keys(collections).forEach(function(name) { | |
gulp.src(collections[name]) | |
.pipe(plugins.concatCSS("collections/" + name + ".css")) | |
.pipe(gulp.dest("assets/stylesheets")); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment