I've my project folder on dropbox. When running "grunt imagemin" it successfully minifies the image from the source folder but it creates a duplicate root folder inside the destination folder. This issue didn't exist on previous versions of imagemin i.e "grunt-contrib-imagemin": "~0.8.1" which I'm using exactly the same code.
I've my project folder on dropbox. When running "grunt imagemin" it successfully minifies the image from the source folder but it creates a duplicate root folder inside the destination folder. This issue didn't exist on previous versions of imagemin i.e "grunt-contrib-imagemin": "~0.8.1" which I'm using exactly the same code.
imagemin: { dist: { files: [{ expand: true, cwd: 'src/images', src: ['**/*.{png,jpg,gif}'], dest: 'dist/assets' }] } },