-
Install the Gulp CLI
npm install --global gulp-cli
-
Install and switch to the correct version of Node using NPM
npm install
-
Create a new folder named src inside this project main directory and put your original images in it. Create another folder named dist
-
Run gulp command to minify the images
gulp