grunt-svgmule
v0.5.1
Published
Grunt task for svgmule. Combines and minimizes your original SVG's on a per folder basis into one single file each.
Downloads
3
Readme
grunt-svgmule
Grunt task for svgmule.
Combines and minimizes your original SVG's on a per folder basis into one single file each.
Getting started
install and save dependencies
npm install grunt-svgmule --save-dev
enable it in Gruntfile.js
grunt.loadNpmTasks('grunt-svgmule');
The "svgmule" task
Overview
In your project's Gruntfile, add a section named svgmule
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
svgmule: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
});
Options
Please check defaults.yml for a list of available options. You can find defaults.yml within your local node_modules/svgmule/lib/ folder.
About
Feedback welcome! Contact me @bennyschudel or follow me on twitter.
Copyright (c) 2014 Benny Schudel - MIT-License