I have two different files in different folders, but with the same names:
/src/assets/images/categories/action/1.jpg
/src/assets/images/categories/comedy/1.jpg
After the build, only one file got into the /dist/assets/images/ folder:
dist/assets/images/1-116x124.jpg
I think that if the folder structure inside src/assets/ had been saved after the build, there would have been no problems.