title: Webpack SASS @import with tilde path suddenly stopped working
body: <p>I'm using Webpack to compile SASS and was using import paths starting with the tilde (<code>~</code>) sign. This has been working all the time, but suddenly today, it stopped working.</p>
  
  <p>I have reset my code in Git to a revision that was working Friday, but now I get an error.</p>
  
  <p>I'm not sure how to troubleshoot this at all - should I change the <code>node-sass</code> version? Can anyone assist me?</p>
  
  <p>Error:</p>
  
  <pre><code>error  in ./src/components/top-menu/style.scss
  
  Module build failed:
  @import "~sass/base";
  ^
  File to import not found or unreadable: ~sass/base.
  Parent style sheet: stdin
    in /path/to/stuff/src/components/top-menu/style.scss (line 1, column 1)
  </code></pre>