I did a custom module and added a custom css. All worked fine, but this css has some images linked directly like:
background-image:url(./img/digit-sm.png);. And obviously has its folder img on the same level.
So I decided to change these path to
./../images/digit-sm.png and put the img folder on (renaming it):
The problem is magento can't find these images, but the url is correct:
So I looked inside this folder and there aren't these images. Why? I tried everything, every command, upgrade, compile, static-deploy, cache and nothing. I need to do something more? How can I indicate magento to copy these files on pub/static?
If I put manually these images everything works like a charm.