title: WebPack + SASS : How to generate relative image path?
body: <p>I am trying to set up a web application behind an Apache vhost which acts as proxy (proxyPass) in order to add a contextPath. Only the vhost has to know this contextPath of course.</p>
  
  <p>Everything is ok, except the background-images which are not loaded. The reason is simple : </p>
  
  <p><strong>SASS image URLs are absolute and don't contain the contextPath.</strong></p>
  
  <p>If the generated URLs in the final CSS were relative, images should be loaded correctly.</p>
  
  <p><strong>How to use SASS/Webpack in order to generate relative path then ?</strong></p>
  
  <hr>
  
  <p><em>Notes:</em></p>
  
  <p>Whatever I use in SASS file, absolute or relative path, the final output is always absolute. I currently use :</p>
  
  <ul>
  <li>Webpack 3</li>
  <li>node-sass 4.5.3</li>
  <li>sass-loader 6.0.6</li>
  <li>extract-text-webpack-plugin 3.0.0</li>
  </ul>
  
  <p>I don't use any file-loader (I tryed too but change nothing) and just copy all images in the dist directory.</p>