I am using yeoman + angular and tried out 'yeoman build:minify'. This fails because the task rev:img renames all images. Afterwards, the dynamic sources (see http://docs.angularjs.org/api/ng.directive:ngSrc) do not work anymore.
Does someone know a trick to fix this? E.g. would it be possible to avoid the image renaming?
In recent versions of Yeoman and its Gruntfile.js you can add folder of image to its
filerev
task. So that yourfilerev
task looks like this:This is currently a known issue and we'll try to fix it soon.
In the meantime you can try out one of the suggested workarounds in this thread.
Just replace the
rev
config with this:and place all your dynamic images in
images/ignore/