We’re running into a weird issue where images are there during a yarn start or yarn build, but some of them (not all) go missing on a yarn build:production.
For some reason the compiled css file is looking for images in wp-content/themes/theme-name/dist/images/some-broken-link.jpg
It’s about half and half, some work, some missing. Not using any css framework.
We’re referencing images just like in the docs, and just like our last few Sage builds. With a …/images
We’ve tried deleting pretty much all the sass besides the lines it hates, as well as copying the image name from the one it hates to the one it likes. o.O
Never mind! The developer put wp-content/themes as the path to the theme when the cli asked during initial setup. Finally found that by comparing the config file with the last project. Thanks!