var path = require('path')

module.exports = {
  entry: {
    app: ['./src/index.js']
  },
  output: {
    path: path.resolve(__dirname, 'public/assets'),
    publicPath: 'assets/',
    filename: 'bundle.js'
  },
  module: {
    loaders: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: 'babel'
      }
    ]
  }
}

@@ -315,17 +315,32 @@
 ader
+s
 :
+ %5B'react-hot',
  'babel'
 %0A   
@@ -335,16 +335,17 @@
  'babel'
+%5D
 %0A      %7D

Use react-hot-loader