title: Require image in img tag with webpack
body: <p>So far most tutorials I see have this code when it comes to images:</p>
  
  <pre><code>var imgElement = document.createElement('img');
  
  imgElement.src = require('./images/my-image.jpg');
  
  document.body.appendChild(imgElement);
  </code></pre>
  
  <p>However, how do I tell webpack to handle something like this in a template:</p>
  
  <pre><code>&lt;img class="mhe-logo" src="../../assets/images/logo.png"&gt;
  </code></pre>
  
  <p>Is there special "require" syntax for inline links? Essentially, I would like to use the url-loader so that it returns a base64 of small images, and it hashes all other images.</p>