Skip to content

Support file globbing for input and output #35

@sonniesedge

Description

@sonniesedge

In the example below, if multiple files and folders are specified via file globbing, the destination value is ignored.

Grunt code:

    inline: {
      dist: {
          files: [{
            expand: true,
            cwd:  'source/',
            src: ['**/*.html'],
            dest: 'destination/'
          }]
      }
    }

Output: (grunt inline:dist --verbose)

OK
Reading source/index.html...OK
Processing source/index.html...Writing source/index.html...OK
OK
Reading source/test/index.html...OK
Processing source/test/index.html...Writing source/test/index.html...OK
OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions