gulp-replace-placeholder-image

1.0.2 • Public • Published

gulp-replace-image-placeholder

Release all .jpg/.jpeg/.png/.gif/.svg to placeholder image, others will be copied by default.

Installation

$ npm i --save-dev gulp-replace-image-placeholder

Supported formats

  • PNG
  • JPEG
  • GIF
  • SVG

imagePlaceholder

return placeholder image.

Examples

import imagePlaceholder from 'gulp-plugin-image-placeholder';
//or
imagePlaceholder from 'gulp-plugin-image-placeholder'.default;

task('placeholder', () => src('/path/to/src/*')
  .pipe(imagePlaceholder())
  .pipe(dest('/path/to/dest'))):

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-replace-placeholder-image

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

6.35 kB

Total Files

3

Last publish

Collaborators

  • simplylouis