var path = require('path');
var webpack = require('webpack');

module.exports = {
  devtool: 'eval',
  resolve: {
    root: __dirname + '/source'
  },
  entry: [
    'webpack-hot-middleware/client',
    './source/index'
  ],
  output: {
    path: path.join(__dirname, 'build'),
    filename: 'index.js',
    publicPath: '/static/'
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin()
  ],
  module: {
    loaders: [{
      test: /\.js$/,
      loader: 'babel-loader',
      include: path.join(__dirname, 'source'),
      query: {
        presets: ['es2015', 'stage-0', 'react']
      }
    }]
  }
};

@@ -24,42 +24,8 @@
 h');
-%0Avar webpack = require('webpack');
 %0A%0Amo
@@ -125,45 +125,8 @@
 : %5B%0A
-    'webpack-hot-middleware/client',%0A
     
@@ -257,110 +257,13 @@
 c/'%0A
+
   %7D,%0A
-  plugins: %5B%0A    new webpack.HotModuleReplacementPlugin(),%0A    new webpack.NoErrorsPlugin()%0A  %5D,%0A
   mo

Remove HMR config.