imageoptmizer-brunch
Optimize PNG and JPG images with optipng & jpegtran on --optimize
Last updated 5 years ago by jpadilla .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install imageoptmizer-brunch 
SYNC missed versions from official npm registry.

imageoptimizer-brunch

Optimize PNG and JPG images on --optimize with brunch. It either uses jpegtran and optipng or node-smushit to get the best out of your images in your /public folder.

Installation

You can install jpegtran and optipng with homebrew

brew install optipng jpeg

Config

  imageoptimizer:
    smushit: false # if false it use jpegtran and optipng, if set to true it will use smushit
    path: 'images' # your image path within your public folder

Usage

Add "imageoptmizer-brunch": "0.0.4" to package.json of your brunch app.

Pick a plugin version that corresponds to your minor (y) brunch version.

If you want to use git version of plugin, add "imageoptmizer-brunch": "git+ssh://git@github.com:steffenmllr/imageoptmizer-brunch.git"

Current Tags

  • 0.0.6                                ...           latest (5 years ago)

6 Versions

  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2 [deprecated]           ...           7 years ago
  • 0.0.1                                ...           8 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |