Image compression with gulp-imagemin.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gulp
.gitignore
README.md
gulpfile.js
package.json

README.md

Imgmin Generator

Image compression with gulp-imagemin.

Require

  • Node.js

Getting Started

Clone

$ git clone git@github.com:42EG4M1/imgmin-generator.git

Install npm packages

$ npm i

Create directory

Move the image you want to compress to the images directory.

$ mkdir images

Build

A compressed image is generated in dist directory.

$ npm run img

// build with watch
$ npm run watch