grunt-text-replace
grunt-text-replace copied to clipboard
grunt templates / variables within from: ?
Is it possible to do something like:
from: /"<%= pkg.name %>"\.[a-z0-9.]+\.css/g,
?
Putting them package name in manually works, however it would be useful if it could parse the template variable so it didn't need to be changed for each project.
I was also trying to do this, so as to not have to hard-code the pkg.name in the regex. This would be very useful if it's currently not possible.