title: HtmlWebpackPlugin - inject js in body at a specifc place
body: <p>I am using HtmlWebpackPlugin to inject javascript into my template file:</p>
  
  <pre><code>&lt;html&gt;
      ...
      &lt;body&gt;
          ...
          &lt;?php echo $this-&gt;inlineScript(); ?&gt;
          &lt;script type="text/javascript" src="/dist/vendor.js?a4212b4b10c2d4d2d73e"&gt;&lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>However, I need the generated bundle to be injected before the PHP code <code>&lt;?php echo $this-&gt;inlineScript(); ?&gt;</code>, to let inline scripts work properly (they require JQuery, which will be loaded inside vendor.js).</p>
  
  <p>Result should be:</p>
  
  <pre><code>&lt;html&gt;
      ...
      &lt;body&gt;
          ...
          &lt;script type="text/javascript" src="/dist/vendor.js?a4212b4b10c2d4d2d73e"&gt;&lt;/script&gt;
          &lt;?php echo $this-&gt;inlineScript(); ?&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Is there a way to achieve this? Maybe it is possible to use a placeholder like <code>&lt;%= htmlWebpackPlugin.options.??? %&gt;</code> or something similar? If it does not work with HtmlWebpackPlugin, is there another webpack plugin I can use?</p>