0.0.1-c • Published 8 years ago

ionic-gulp-images-copy v0.0.1-c

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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' });
});