var path = require('path');

module.exports = {
  context: path.join(__dirname, 'src'),
  entry: {
    javascript: './app/main.js',
    html: './index.html'
  },

  output: {
    filename: 'js/bundle.js',
    path: path.join(__dirname, 'dist')
  },

  module: {
    loaders: [
      {
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        loaders: ['react-hot', 'babel-loader']
      },
      {
        test: /\.html$/,
        loader: 'file?name=[name].[ext]'
      }
    ]
  }
};

@@ -119,15 +119,15 @@
 app/
-main
+app
 .js
+x
 ',%0A 

fix path for the general app.jsx file