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
'Target' option be able to receive a function #334
Comments
Interesting idea. Could you give me a real world usage scenario? |
Sure! My 'css-min' task have two targets: minification and concat. But let's focus on concat. ;D
Nowadays, the 'target' option accept just a string. But in my example, just one defined path doesn't work with multiple targets. I think that accepting a function, i can pass the filepath of each dest to the target option. The function ideia maybe isn't the best solution, but i think you get the point. |
Hi @danielppereira - interesting concept which generally makes sense to me. Let me give it a try to have a better idea how to handle it. Not sure if it's going to find its way into |
4.0 gets rid of |
I'm using grunt css-min, and i'm trying doing this
This option could accept a function, so that could work dynamically with each src
The text was updated successfully, but these errors were encountered: