text: const path = require('path');
  const HTMLWebpackPlugin = require('html-webpack-plugin');
  
  module.exports = {
    entry: path.join(__dirname, '/src/client/static/index.js'),
    output: {
      path: path.join(__dirname, '/dist'),
      filename: 'bundle.js'
    },
    module: {
      rules: [
        {
          test: /\.(js|jsx)$/,
          exclude: /node_modules/,
          use: 'babel-loader'
        }
      ]
    },
    plugins: [
      new HTMLWebpackPlugin({
        filename: 'index.html',
        template: path.join(__dirname, '/src/client/static/index.html')
      })
    ],
    resolve: {
      extensions: ['.js', '.jsx']
    }
  };
  