Socket
Socket
Sign inDemoInstall

ionic-gulp-images-copy

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ionic-gulp-images-copy

Gulp task for Ionic 2 projects to copy images to a build directory


Version published
Weekly downloads
6
increased by200%
Maintainers
1
Install size
4.56 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 18 Sep 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc