Skip to content

An image minifier for GitPitch PNG, JPEG, GIF and SVG image dependencies.

Notifications You must be signed in to change notification settings

gitpitch/asset-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitPitch Asset-Optimizer

An image minifier for GitPitch PNG, JPEG, GIF and SVG image dependencies. Built using Gulp, the streaming build system.

Dependencies

  1. The NPM Package Manager

How It Works

Prepare as follows:

  1. git clone https://github.com/gitpitch/asset-optimizer.git
  2. cd asset-optimizer
  3. npm install gulp
  4. npm install --save-dev gulp-imagemin

Once your local copy of the asset-optimizer is prepared as indicated, the next step is to copy all of your GitPitch image file dependencies into the assets directory.

Then run the following command:

  1. gulp dist

When this command completes your optimized image assets will be found under dist/assets/*.

These optimized image assets are now ready to be added to an assets directory alongside your PITCHME.md in your GitHub repo or stored in some publicly accessible CDN.

About

An image minifier for GitPitch PNG, JPEG, GIF and SVG image dependencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •