grunt-text-replace
grunt-text-replace copied to clipboard
Pass processing file path to the replacement function and support all of Grunt configurations
Add two parameters to "to" if "to" is a function. The fifth parameter of "to" is the path of source file, and the sixth is the path of destination file. You can do extra work to the source and destination files in the function.
+1: Works great! I say merge it!