title: Webpack does not preserve symlinks in project path
body: <p>I created a symlink for my "Dropbox (Personal)" folder so I could have an asset path without spaces. If I build my webpack project from a project there, however, it still uses the original path when running and referencing assets. I'm on OSX btw.</p>
  
  <p><strong>Current behavior</strong></p>
  
  <pre><code>$ pwd
  /Users/&lt;me&gt;/&lt;SYMLINK&gt;/&lt;project&gt;
  
  $ webpack
  &gt; &lt;project&gt; dev /Users/&lt;me&gt;/&lt;ORIGINAL&gt;/&lt;project&gt;
  </code></pre>
  
  <p><strong>Desired behavior</strong></p>
  
  <pre><code>$ pwd
  /Users/&lt;me&gt;/&lt;SYMLINK&gt;/&lt;project&gt;
  
  $ webpack
  &gt; &lt;project&gt; dev /Users/&lt;me&gt;/&lt;SYMLINK&gt;/&lt;project&gt;
  </code></pre>
  
  <p>Does anyone know of a way to achieve the above? Thanks.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Turns out I needed to use a hard link for the Dropbox folder instead of a soft link. The soft link just meant it was basically an alias that always gets resolved to the real path. A hard link means it acts as an actual folder that contains links to the same data as the original. I used the following steps to do it properly:</p>
  
  <ul>
  <li>Quit Dropbox app</li>
  <li><code>$ mv "Dropbox (Personal)" Dropbox</code></li>
  <li><code>$ ln -s Dropbox "Dropbox (Personal)"</code></li>
  </ul>
  
  <p>I can now effectively use the Dropbox directory exactly the same as Dropbox Personal.</p>
  
  <p>Also removing the webpack tag since the issue turned out to be unrelated to webpack.</p>