text: var path = require('path');
  var webpack = require('webpack');
  var HtmlWebpackPlugin = require('html-webpack-plugin');
  
  module.exports = {
      devtool: 'inline-source-map',
      entry: ['./index.js'],
      output: {
          path: path.join(__dirname, 'build'),
          filename: 'bundle.js'
      },
      module: {
           loaders: [
           {
                test: /.js$/,
                loader: 'babel-loader',
                include: path.join(__dirname, 'app'),
                exclude: /node_modules/,
                query: {
                presets: ['es2015', 'react']
              }
            }
            ]
        },
        plugins: [
           new HtmlWebpackPlugin({
               template: './app/public/index.html',
               filename: 'index.html',
               inject: 'body',
           }),
        ],
      };
  