factor1 / prelude-wp

Prelude is a WordPress starter theme that helps you craft custom themes.
GNU General Public License v3.0
14 stars 3 forks source link

File paths for SVG images under assets/img folder are incorrect in compiled CSS #178

Closed mlpatt23 closed 4 years ago

mlpatt23 commented 4 years ago

I am trying to use the angle.svg image under assets/img in my test project. It gets copied to the dist folder with a string saved in the file name: angle.31eab241.svg

Screen Shot 2020-01-13 at 12 52 04 PM

Here's a screenshot of the file tree: Screen Shot 2020-01-13 at 12 51 46 PM

When looking at the compiled styles on the front end of the site, it seems to be looking for dist/dist/angle.31eab241.svg instead of dist/angle.31eab241.svg:

Screen Shot 2020-01-13 at 12 52 33 PM

Screen Shot 2020-01-13 at 12 52 44 PM

erwstout commented 4 years ago

https://github.com/factor1/prelude-wp/pull/179