title: webpack: copy a filed without changing it's content
body: <p>I am deploying my project to surge.sh</p>
  
  <p>surge.sh needs a 200.html file to enable routing for (sub-)pages of single page apps</p>
  
  <p>My file looks like this:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;link rel="stylesheet" href="gs.1.0.0.css"&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;script src="gs.1.0.0.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I load it using</p>
  
  <pre><code>import twohundredPage from 'copy!./200.html'
  </code></pre>
  
  <p>or</p>
  
  <pre><code>import twohundredPage from 'file?name=200.html!./200.html'
  </code></pre>
  
  <p>the resulting file looks like this:</p>
  
  <pre><code>module.exports = __webpack_public_path__ + "9802140cc82d486c4b933fc3da03da99.html"
  </code></pre>
  
  <p>and does not work on surge.sh which is a cdn</p>
  
  <p>How can I load a file without changing it's contents? Or in other words: <strong>just</strong> copy it?</p>
  
  <p><strong>edit (2015.06.01)</strong></p>
  
  <p>I have found no solution to the question.</p>
  
  <p>But I managed to solve my issue like this:</p>
  
  <p>By not hosting on surge but instead on a virtual server with hapi.js I didn't need to copy a 200.html file any more (and could configure hapi.js to let my index.html i.e. its script handle 404's). This was a good thing anyway because a virtual server from digitalocean.com has a responce time of 20ms (in my case) as opposed to 300ms at surge.sh!</p>
  
  <p>By using <code>react-favicon</code> (my project uses React) I could reference the favicon.ico in my code > no need for a favicon in a file named favicon in the root of the project any more.</p>