Grunt task for svgreindeer.
Renders SVG's to PNG's for a fallback in older IE's and email clients.
install and save dependencies
npm install grunt-svgreindeer --save-dev
enable it in Gruntfile.js
grunt.loadNpmTasks('grunt-svgreindeer');
In your project's Gruntfile, add a section named svgreindeer
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
svgreindeer: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
});
Please check svgreindeer.yml for a list of available options.
Feedback welcome! Contact me @bennyschudel or follow me on twitter.
Copyright (c) 2014 Benny Schudel - MIT-License