Closed kuzeko closed 8 years ago
This is built into grunt: http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically
Does that do what you need?
If not, I'd probably not add this to grunt-include-replace over simply using a grunt plugin to do it.
Sure, it almost cover my use cases, just I was looking for that renaming to happen only when the grunt-include-replace
plugin actually found something to replace/rewrite.
Anyway, thanks for the pointer.
Allow renames (suffix?) to generated files
possible expected behaviour
Will check for names containing the match pattern and rename them with the replacement string, as would do
str.replace(match, replacement)