Package Exports
- imagemin-svgo
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 (imagemin-svgo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
imagemin-svgo 
svgo image-min plugin
Install
$ npm install --save imagemin-svgo
Usage
var Imagemin = require('image-min');
var svgo = require('imagemin-svgo');
var imagemin = new Imagemin()
.src('foo.svg')
.dest('foo-optimized.svg')
.use(svgo());
imagemin.optimize();
Options
plugins
Type: Array
Default: []
Customize which SVGO plugins to use.
var imagemin = new Imagemin()
.use(svgo({ plugins: [{ removeViewBox: false, removeEmptyAttrs: false }] }));
License
MIT © imagemin