I’m having an issue with yarn run build:production - all the images are optimised and outputted in /dist/images/ and they have the cache busting suffix.
When I reference these images in my html I’m referring to them by the names of the images in /assets/images/ not the new names, so what is the point of them being optimised and how to reference them properly? I have a similar problem with my fonts in my css.
Thank you for the reply. I think I’ve got that far. It is just the fonts that I’m having difficulty with. Forgive me if I’m missing something. There was a similar question here but it wasn’t resolved
What do you get when you look at network tab in the Chrome developer tools? Are the font files missing and if so, what is the path that they are referencing that’s not being found?