Skip to content

Folders get created unnecessarily for generated WebPs #4

@vibin

Description

@vibin

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions