mosaic-gulp-task-copy
v1.0.1
Published
Gulp task that copies files with glob pattern matching support.
Downloads
130
Keywords
Readme
gulp-task-copy
Copies files using vinyl-fs. Supports glob pattern matching.
Install
npm install --save mosaic-gulp-task-copy
Usage
var gulp = require("gulp");
var copy = require("mosaic-gulp-task-copy");
// Copy vendor files from bower components to the public folder
gulp.task("copy", copy([
{
src: "bower_components/bootstrap-sass/assets/stylesheets/bootstrap{,/**/*.scss}",
dest: "public/vendor/styles"
},
{
src: "bower_components/bootstrap-sass/assets/javascripts/**/*.js",
dest: "public/vendor/scripts"
}
]));
License
MIT