title: webpack: use hash file name in html template
body: <p>I now have webpack generating my bunde file with a hash in the name:</p>
  
  <pre><code>bundle.649c4c4e6c8076189257.cache.js
  </code></pre>
  
  <p>I also have figured out how to have webpack generate my main html page from an html template using HtmlWebpackPlugin.</p>
  
  <p>Here is my problem, in my html template I have the bundle file name hardcoded:</p>
  
  <pre><code>&lt;script src="bundle.649c4c4e6c8076189257.cache.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I would rather have some kind of variable, like this:</p>
  
  <pre><code>&lt;script src="${bundleFileName}"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>How do I do this with webpack?</p>