Skip to content

Instantly share code, notes, and snippets.

@adammcarth
Last active September 27, 2015 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adammcarth/65fb65bdae5e8f969951 to your computer and use it in GitHub Desktop.
Save adammcarth/65fb65bdae5e8f969951 to your computer and use it in GitHub Desktop.
module.exports = {
"normal": [
"reset.css",
"public_styles.css"
],
"admin": [
"reset.css",
"bootstrap.css",
"admin_styles.css"
]
}
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