# Bud 6.3.2 (without SAGE) - URLs for images/svgs/fonts not resolving correctly

**URL:** <https://discourse.roots.io/t/bud-6-3-2-without-sage-urls-for-images-svgs-fonts-not-resolving-correctly/23582>\
**Category:** bud\
**Tags:** sass, webpack, bud\
**Created:** [July 19, 2022, 2:37pm UTC](https://discourse.roots.io/t/bud-6-3-2-without-sage-urls-for-images-svgs-fonts-not-resolving-correctly/23582 "2022-07-19T14:37:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frizzant](https://discourse.roots.io/user_avatar/discourse.roots.io/frizzant/32/10716_2.png) [@frizzant](https://discourse.roots.io/u/frizzant)\
**Post date:** [July 19, 2022, 2:37pm UTC](https://discourse.roots.io/t/bud-6-3-2-without-sage-urls-for-images-svgs-fonts-not-resolving-correctly/23582/1 "2022-07-19T14:37:48Z")

</div>

updated to 6.3.2 - however image paths in SASS like `background-image:url(../../images/wave-green.svg);` still can not be resolved when running `build`.

Setup:

- bud.js 6.3.2
- windows 11
- WSL2 (Ubuntu)
- URLs `http://localhost/example/` and/or `http://example.localhost/`

**Sidenote** : if using sage10, I do not have this issue when building.

I am not using @src or @images because this does not seem to work for me for some reason. Do i need to use aliases for this to work with Bud consistently?

file structure in a nutshell is the following:  
– …  
–dist  
– src  
– --fonts  
– --images  
– --styles  
– --scripts  
– bud.config.js  
– index.php

it always seems to add “components” infront. `Module not found: Error: Can't resolve './components/@source/src/images/wave-red.svg' in './src/styles'`

Not sure if this is just displayed, or actually what it’s looking for.

–

Using `.setPublicPath()` i get the following results with different paths (command `npm run dist`):

1. `/` =\> `https://example.com/css/<file>`
2. `/wp-content/themes/example/dist/` =\> `https://example.com/wp-content/themes/example/dist/wp-content/themes/example/dist/css/<file>`
3. “” (empty string) =\> `https://example.com/wp-content/themes/example/distcss/<file>`
4. `../` =\> `https://example.com/wp-content/themes/example/dist../css/<file>`
5. `./` =\> `https://example.com/wp-content/themes/example/dist./css/<file>`

Any other things I can try?

Running `yarn dev` with HMR actually works. So it’s surprising that it does not work when built.
