title: Angular CLI - How to resolve url in CSS or SCSS?
body: <p>I have a component whose SCSS references an image in the same component folder, using <code>background-image: url('./logo.jpg')</code>.</p>
  
  <p>Removing the leading ./ does not help either. In any case, the image does not show in the browser.</p>
  
  <p>I am running <code>ng serve</code> and looking at the <code>dist</code> folder, logo.jpg is indeed copied and placed in the same component folder as expected.</p>
  
  <p>I would also like to be able to reference images from other locations outside the folder that my .css or .scss file lives in, using relative paths like I do with my component .html and .css from the .ts file.</p>
  
  <p>I think I need some sort of url resolver that would generate the full URL on the outputted .css file. How would I obtain such a resolver and how do I configure it in Angular CLI?</p>