grunt-spritesheet is a multitask which @implicitly iterates over all of its named sub-properties@.
you could see that grunt is probably trying to run "sprites" and "sheet" as a task:
Running "spritesheet:sprites" (spritesheet) task
that means that the documentation is somewhat not so clear, and you need a "name" for your task which could basically be anything (i use generate
here):
spritesheet: {
generate: {
// An array of filename / source images array pairs. The basename of the sprite file
// is also prefixed to the CSS classes.
sprites: {
"images/icons/sprite.png": ['images/icons/*.png']
},
// The destination for the build stylesheet
sheet: "scss/homepsprite.css"
}
}
the output should now be:
Running "spritesheet:generate" (spritesheet) task