title: html-webpack-plugin adding type attribute to script tag
body: <p>Version 2.30.1</p>
  
  <pre><code>new HtmlWebpackPlugin({
        title: 'Project',
        minify: {
          collapseWhitespace: true,
          preserveLineBreaks: false
        },
        hash: true,
        template: './src/index.html'
      })
  </code></pre>
  
  <p>Results in:</p>
  
  <pre><code>&lt;script type="text/javascript" src="bundle.js?d944356bf9245ce4bab5"&gt;
  </code></pre>
  
  <p>but should be:</p>
  
  <pre><code>&lt;script src="bundle.js?d944356bf9245ce4bab5"&gt;
  </code></pre>
  
  <p>Either the configuration is wrong or missing something or this is a bug?</p>