Roots Discourse

After compile Scss, the background image url gets changed to object

I used the following in scss file
background-image: url("…/images/arrow-down.png");
After run yarn build:production, the image URL is changed to
background-image: url([object Object]);

Does anyone have the same issue? any way to fix it?

2 Likes

Same problem, but my PNGs work. I am thinking it is because I had to downgrade url-loader to get the relative file paths to work… so buggy.