Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ability to add more than a directory of origin and destination #15

Open
sergiohermes opened this issue Dec 2, 2015 · 1 comment
Open

Comments

@sergiohermes
Copy link

First, congratulations on the module it is very interesting.

I believe this would be an improvement ...

For example, normally systems have different directories eg:

  • frontend
  • backend

and their images would be there.

//as we have today
config.images = _.extend({
        folder: 'images', //It would be interesting to place an object containing several directories recursively
        outputFolder: 'images'
}, config.images || {});

elixir.json

//possible implementation
{
    "images": {
            "frontend-test1": {
                "folder": ["frontend/images/folder1", "frontend/images/folder2"], // find by resources
                "outputFolder": "images/frontend/folder1", "images/frontend/folder2" //export into public/
            },
            "frontend-test2": {
                "folder": ["frontend/images/folder3", "frontend/images/folder4"], // find by resources
                "outputFolder": "images/frontend/folderx" //export into public/             
            }

            "backend-test1": {
                "folder": ["backend/images/folder1", "backend/images/folder2"], // find by resources
                "outputFolder": "images/backend/folderx" //export into public/              
            }

            "backend-test2": {
                "folder": ["backend/images/folder3", "backend/images/folder4"], // find by resources
                "outputFolder": "images/backend/foldery" //export into public/              
            }

    }
}

Today, I have only one option to put the images.

It would be interesting and I believe that increase the functionality of it, with the possibility of adding different directories of both origin and destination.

Sincerely, and success!

@CupOfTea696
Copy link

Can this please be added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants