svg-sprite/grunt-svg-sprite

Cannot read property 'svg' of undefined

mhennessie opened this issue · 1 comments

When using options shape an error occurs with the message: "Warning: An error occurred while processing a template (Cannot read property 'svg' of undefined). Use --force to continue."

Here is my config:
`svg_sprite: {
basic: {
cwd: '<%= project.src.svg %>/',
src: ['**/*.svg'],
dest: '<%= project.dist.svg %>/',
expand: true,

	options: {
		shape: {
			dimension: {
				maxWidth: 32,
				maxHeight: 32
			},
			spacing: {
				padding: 10
			},
			dest: '<%= project.dis.svg %>/intermediate'
		},
		mode: {
			symbol: true
		}
	}
},

},`

Nevermind found my typo