var path = require('path');
var SRC_DIR = path.join(__dirname, '/client/src');
var DIST_DIR = path.join(__dirname, '/client/dist');

module.exports = {
  entry: {
    index: `${SRC_DIR}/index.jsx`,
    login: `${SRC_DIR}/login.jsx`
  },
  output: {
    path: DIST_DIR,
    filename: '[name]-bundle.js'
  },
  module : {
    loaders : [
      {
        test : /\.jsx?/,
        include : SRC_DIR,
        loader : 'babel-loader',
        query: {
          presets: ['react', 'es2015']
        }
      }
    ]
  }
};

var path = require('path');
var SRC_DIR = path.join(__dirname, '/client/src');
var DIST_DIR = path.join(__dirname, '/client/dist');

module.exports = {
  entry: {
    index: `${SRC_DIR}/index.jsx`,
    login: `${SRC_DIR}/login.jsx`,
    inventory: `${SRC_DIR}/HouseInventory.jsx`
  },
  output: {
    path: DIST_DIR,
    filename: '[name]-bundle.js'
  },
  module : {
    loaders : [
      {
        test : /\.jsx?/,
        include : SRC_DIR,
        loader : 'babel-loader',
        query: {
          presets: ['react', 'es2015']
        }
      }
    ]
  }
};

Add HouseInventory.jsx to be compiled
Add HouseInventory.jsx to be compiled
