builder-svg-minifier

SVG minifier plugin for component-builder2

builder-svg-minifier

Optimize SVG vector graphics files. Plugin for component-builder2 using svgo.

$ npm install builder-svg-minifier --save-dev
var builder = require('component-builder')
var svg = require('builder-svg-minifier')
var opts = {};
 
builder.scripts(tree, options)
  .use('templates', svg(opts))
  .pipe(process.stdout)

MIT