Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 488 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 488 Bytes

responsive-images

Generates responsive image sets via gulp and sharp

Installation

npm dependencies

npm install

libvips

Follow the instructions on installing libvips at http://www.vips.ecs.soton.ac.uk/index.php?title=Build_on_OS_X.

Usage

JPEG files in src/ are converted to JPEG and WebP variants at the defined sizes.

Create variants

gulp responsive

Optimize variants

gulp optimize