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 imagemin plugin
Install
$ npm install --save imagemin-svgo
Usage
const imagemin = require('imagemin');
const imageminSvgo = require('imagemin-svgo');
imagemin(['images/*.svg'], 'build/images', {use: [imageminSvgo()]}).then(() => {
console.log('Images optimized');
});
API
imageminSvgo([options])(buffer)
Returns a promise for a buffer.
options
Type: object
Pass options to svgo.
buffer
Type: buffer
Buffer to optimize.
License
MIT © imagemin