title: Capture and use all image URLs in a SASS file with a view to using css-only preload
body: <p>I have recently started using css-only image preloading of background-images for a project.</p>
  
  <pre><code>//preload images
  body:after{  
      display: none;
      content: url(img01.png) url(img02.png);
  }
  
  //use images
  li.one { background-image: (img01.png) }
  li.two { background-image: (img02.png) }
  </code></pre>
  
  <p>I make my CSS files from SCSS, and was wondering if there would be some way I could use SASS to run through the file and create the body:after preload from the background-image URLs throughout the file?</p>
  
  <p>If not, what would be your best solution, making a script to use Regex to do this step after the CSS file is compiled?</p>