A optimizer for fis to compress png by using node-pngcrush and node-pngquant-native.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.npmignore
LICENSE.md
README.md
index.js
package.json

README.md

fis-optimizer-png-compressor

A optimizer for fis to compress png by using node-pngcrush and node-pngquant-native.

settings

//file : path/to/project/fis-conf.js
fis.config.merge({
    settings : {
        optimizer : {
            'png-compressor' : {
                type : 'pngquant' //default is pngcrush
            }
        }
    }
});
$ fis release --optimize --dest ../output