builder-svg-minifier
v0.0.1
Published
SVG minifier plugin for component-builder2
Downloads
10
Readme
builder-svg-minifier
Optimize SVG vector graphics files. Plugin for component-builder2 using svgo.
Installation
$ npm install builder-svg-minifier --save-dev
Usage
var builder = require('component-builder')
var svg = require('builder-svg-minifier')
var opts = {};
builder.scripts(tree, options)
.use('templates', svg(opts))
.pipe(process.stdout)
Licence
MIT