0.1.1 • Published 10 years ago

grunt-check-svg-dimensions v0.1.1

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
10 years ago

grunt-check-svg-dimensions

Somethimes we need to have height and width attributes in svg. If they not seted, we set this.

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-check-svg-dimensions --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-check-svg-dimensions');

Options

'check-svg-dimensions': {
	all: {
		src: 'source_and_dest_of_svg/*.svg'
	}
},

Release History

  • 0.1.1 Array of sources is allowed
  • 0.1.0 Initial release