Skip to content

Instantly share code, notes, and snippets.

@sandywu
Created February 19, 2014 09:18
Show Gist options
  • Save sandywu/9088617 to your computer and use it in GitHub Desktop.
Save sandywu/9088617 to your computer and use it in GitHub Desktop.

Revisions

  1. sandywu created this gist Feb 19, 2014.
    12 changes: 12 additions & 0 deletions imagemin.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    png: {
    options: {
    optimizationLevel: 7
    },
    files: [{
    expand: true,
    cwd: 'assets/slice/',
    src: ['*.png'],
    dest: 'assets/slice-min/',
    ext: '.png'
    }]
    }