davidtucker/grunt-line-remover — pull request #3 by sroberson (2014-10-17 15:47:06+00:00)
Title: Implemented a Globbing Pattern

I re-wrote your selectors to handle a grunt file that has the files defined by a directory and an asterisk so you don't have to list each file, individually. I'd rather have in my Gruntfile.js a directory target then x number of files and their output. This implementation has the output being the same filename as the input. So, if you need them to be different, you'll have to list the files out, individually as before.

lineremover: {
default: {
src: ['src/*.html'],
dest: 'src'
//files: {
// 'src/a.html': 'src/a.html'
// 'src/b.html': 'src/b.html'
// 'src/c.html': 'src/c.html'
// 'src/d.html': 'src/d.html'
//}
}
},