Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Folder structure not kept #1

Open
salmiak opened this issue Dec 18, 2019 · 0 comments
Open

Folder structure not kept #1

salmiak opened this issue Dec 18, 2019 · 0 comments

Comments

@salmiak
Copy link

salmiak commented Dec 18, 2019

I want the folder structure from my source folder (icons) to be kept in the destination folder (png). I've tried multiple settings but it puts all the output into one folder.

    "convert-svg-to-png": {
      png: {
        options: {
          size: {w: "512px", h: "512px"},
        },
        files: [{
          expand: true,
          cwd: "icons/",
          src: ["**/*.svg"],
          dest: "png/",
          flatten: false
        }]
      }
    }
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant