grunt-filerev
grunt-filerev copied to clipboard
Add basename option
Should fix #15 with a different approach from PR #44 Should also help #53 as it will easier to handle by other grunt tasks, as no path will be added.
As a side note, you will see in 60c53f2 that I needed to specify each tests with filerev:xxx as I need to manipulate the grunt.filerev.summary.
/CC @sindresorhus
Please merge, this is a much needed option!
I don't think this solves the problem in the right way. The option should be named base and you should be able to supply a string with a path the is the base and the resulting paths will be relative to this one.
@sindresorhus make sense :) I update the PR.
ping @stephanebachelier - This PR needs some updates, as well as a rebase.
@arthurvr waiting for the decision about the rewrite