excellenteasy/grunt-pathfinder — pull request #2 by davidpfahler (2012-12-14 21:57:27+00:00)
Title: support multiple path configs per template

Note: **This will beak API if implemented**

# Example Gruntfile config
```coffeescript
pathfinder:
indexhtml:
paths:
css: ['dir/**/*.css', 'also/this/other.css']
js: ['scripts/**/*.js']
template: 'template/index.html'
output: 'dist/index.html'
```
Every "destination" in files (i.e. the object's key) should be available as a variable in the specified `template`. So, multiple sets of paths that are different in their nature can be passed to a single template that can distinguish between them.

# Example `template/index.html` template
```html

<% _.each(css, function(cssFile) { %>

<% }); %>

<% _.each(js, function(jsFile) { %>

<% }); %>

```