var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');

var paths = {
  build: __dirname + '/build',
  node: __dirname + '/node_modules',
  source: __dirname + '/src'
};

module.exports = {
  context: paths.source,
  entry: {
    main: [
      'webpack-dev-server/client?http://localhost:8080', // WebpackDevServer host and port
      'webpack/hot/only-dev-server',
      './index.js' // Your appʼs entry point
    ]
  },
  output: {
    filename: '[name].js',
    path: paths.build
  },
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  resolveLoader: {
    // Ensure dependencies in external packages will use this projects's loaders,
    // instead of resolving to its loaders.
    root: paths.node
  },
  devServer: {
    //contentBase: './src',
    noInfo: true, //  --no-info option
    hot: true
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin(),
    // Create `index.html` with appropriate references to generated files.
    new HtmlWebpackPlugin({
      title: 'Cycle Demo',
      inject: true,
      template: paths.source + '/index.html'
    })
  ],
  module: {
    loaders: [
      {
        test: /\.(css|less)$/,
        loader: 'style!css?modules&localIdentName=[path][name]-[local]_[hash:base64:5]!autoprefixer!less'
      },
      {
        test: /\.html$/,
        loader: 'file?name=[name].[ext]'
      },
      {
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        loaders: ['babel']
      },
      {
        test: /\.svg$/,
        loader: 'raw'
      }
    ]
  }
};

@@ -262,24 +262,65 @@
     main: %5B%0A
+      // WebpackDevServer host and port.%0A
       'webpa
@@ -367,42 +367,85 @@
 80',
- // WebpackDevServer host and port
+%0A      // Hot module reloading behavior. Ignores automatic browser refreshes.
 %0A   
@@ -488,46 +488,47 @@
     
-'./index.js' // Your app%CA%BCs entry point
+// Main entry point.%0A      './index.js'
 %0A   
@@ -832,95 +832,76 @@
 ,%0A  
-devServer: %7B%0A    //contentBase: './src',%0A    noInfo: true, //  --no-info option%0A    hot
+// WebpackDevServer config.%0A  devServer: %7B%0A    hot: true,%0A    noInfo
 : tr

Clean up config