title: webpack.config.js keep adding a script tag for bundle.js into my index.html
body: <p>I have the webpack.config.js like the following</p>
  
  <pre><code>var path = require('path')
  var webpack = require('webpack')
  var HtmlWebpackPlugin = require('html-webpack-plugin')
  var PORT = process.env.PORT || 3333
  var PRODUCTION = process.env.NODE_ENV === 'production'
  var SRC_DIR = path.resolve(__dirname, './src')
  var Webpack_isomorphic_tools_plugin = require('webpack-isomorphic-tools/plugin')
  
  var config = {
    entry: [
      './src/index'
    ],
    output: {
      path: path.join(__dirname, '/'),
      filename: 'bundle.js',
      publicPath: '/'
    },
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new webpack.NoErrorsPlugin(),
      new HtmlWebpackPlugin({ template: './index.html' })
    ],
    resolve: {
      extensions: ['', '.js', '.jsx']
    },
    module: {
      loaders: [
        {
          test: /\.jsx?$/,
          loaders: ['react-hot', 'babel'],
          include: SRC_DIR
        },{ test: /\.css$/, loader: "style-loader!css-loader" }
      ]
    }
  }
  
  if (!PRODUCTION) {
    config.devtool = 'eval'
  }
  
  module.exports = config
  </code></pre>
  
  <p>Whenever I run a prod build using</p>
  
  <p>webpack -p</p>
  
  <p>it inserts a script tag</p>
  
  <pre><code>&lt;script type="text/javascript" src="/bundle.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>into my index.html
  I could not figure out which part of the webpack.config.js is doing this...
  How can I stop this?</p>
  
  <p>thanks</p>
  
  <p>mark</p>