var HtmlWebpackPlugin = require('html-webpack-plugin');
var HTMLWebpackPluginConfig = new HtmlWebpackPlugin({
  template: __dirname + '/app/index.html',
  filename: 'index.html',
  inject: 'body'
});

module.exports = {
  entry: [
    './app/index.js'
  ],
  output: {
    path: __dirname + '/dist',
    filename: 'index_bundle.js'
  },
  module: {
    loaders: [
      {test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'}
    ]
  },
  plugins: [HTMLWebpackPluginConfig]
};

@@ -364,16 +364,25 @@
 %0A      %7B
+%0A        
 test: /%5C
@@ -387,16 +387,24 @@
 /%5C.js$/,
+%0A       
  exclude
@@ -420,16 +420,24 @@
 odules/,
+%0A       
  loader:
@@ -451,16 +451,80 @@
 -loader'
+,%0A        query: %7B%0A          presets: %5B'react'%5D%0A        %7D%0A      
 %7D%0A    %5D%0A

Fix JSX parsing with Babel