ionic-gulp-images-copy
v0.0.1-c
Published
Gulp task for Ionic 2 projects to copy images to a build directory
Downloads
4
Maintainers
Readme
Images Copy Task
Copy Ionic 2 images to build directory.
Installation
npm install --save-dev ionic-gulp-images-copy
API
copyImages([options])
Returns a stream of Vinyl files that can be piped.
Available options:
- src (String|Array) Glob or array of globs (What's a glob?) matching images. Default:
'app/images/**/*.+(png|gif|jpg|jpeg|svg)'
. - dest (String) Output path for the images. Default:
'www/build/images'
.
Example
var copyImages = require('ionic-gulp-images-copy');
gulp.task('images', copyImages);
gulp.task('images', function(){
return copyImages({ dest: 'www/my-custom-build-dir' });
});