twolfson / grunt-spritesmith

Grunt task for converting a set of images into a spritesheet and corresponding CSS variables
MIT License
1.14k stars 92 forks source link

Fatal error: grunt.sprite requires a src, dest (img), and destCss property #151

Closed douglasdeodato closed 9 years ago

douglasdeodato commented 9 years ago

i am getting this error after run grunt sprite

Fatal error: grunt.sprite requires a src, dest (img), and destCss property

//Sprite =============================== var sprite; config.sprite = sprite = {};

      // Configure grunt 
      sprite.dist ={
        sprite:{
          all: {
             src: 'public/images/*.png',
            dest: 'public/images/sprite/spritesheet.png',
            destCss: 'sass/sprites.css'
          }
        }
      };    
twolfson commented 9 years ago

I have a feeling this is directly tied to #150. Closing this as a duplicate for now.