node package manager

builder-svg-minifier

SVG minifier plugin for component-builder2

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