Package Exports
- gulp-tinify
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-tinify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-tinify
Minify compatible files using TinyPNG's API
Installation
npm install --save-dev gulp-tinify
Usage
var gulp = require('gulp');
var tinify = require('gulp-tinify');
gulp.task('tinify', function() {
gulp.src('/img/**/*')
.pipe(tinify('TinyPNGAPIKey'))
.pipe(gulp.dest('/dest/img'));
});
You must have a TinyPNG Developer API Key for this to work.
License
MIT © Josh Broton