I had this same issue and it turned out to be a case problem. the file was named 'Client-1.svg' and in the code I wrote 'client-1.svg'. Works in dev but not in build.