chrissrogers/grunt-wrap — pull request #7 by cha0s (2013-03-03 07:50:20+00:00)
Title: Added wrapper-as-function

Wrapper may be a function invoked for every file taking filepath and options as args, and returning a 2-element array (as currently).

I wanted to generate a prefix/suffix derived from the filepath, and this lets anyone do arbitrarily complicated things like this, as well as leaving the default functionality for global prefix/suffix (as before).