Here's the snippet from my Grunt.js
dist:{
files: [{
expand: true,
cwd: 'src/img',
src:['*.jpg'],
dest:'src/img/',
ext:'.jpg.webp'
}],
},
options:{
quality:85,
},
},
When ever I run grunt webp, folders with name as [filename].jpg.webp get created and the actual .webp files reside inside them.
I don't want this to happen. I want my actual webp files to have the name [filename].jpg.webp and no extra folders should be created (as the dest is already mentioned).