A Mimosa module to minify SVG files
Latest commit 566c56f Feb 26, 2014 @dbashford calling next on error
Failed to load latest commit information.
src calling next on error Feb 26, 2014
.gitignore initial Feb 23, 2014
.npmignore initial Feb 23, 2014
README.md runs on --minify, v0.2.0 Feb 25, 2014
mimosa-config.js initial Feb 23, 2014
package.json calling next on error Feb 26, 2014




This module uses SVGO to minify SVG files.

For more information regarding Mimosa, see http://mimosa.io.


Add 'minify-svg' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.


During mimosa watch and mimosa build, when the --minify flag is used, this module will optimize.svg files.


SVG files, especially exported from various editors, usually contains a lot of redundant and useless information such as editor metadata, comments, hidden elements, default or non-optimal values and other stuff that can be safely removed or converted without affecting SVG rendering result.

Default Config

minifySvg: {
  options: {}
  • options an object, pass-through options/plugins to the SVGO library.