text: const path = require('path')
  
  module.exports = {
    context: __dirname,
    entry: './js/ClientApp.jsx',
    output: {
      path: path.join(__dirname, '/public'),
      filename: 'bundle.js'
    },
    resolve: {
      extensions: ['', '.js', '.jsx', '.json']
    },
    stats: {
      colors: true,
      reasons: true,
      chunks: false
    },
    module: {
      preLoaders: [
        {
          test: /\.js?$/,
          loader: "eslint-loader",
          exclude: /node_modules/
        },
        {
          test: /\.jsx?$/,
          loader: "eslint-loader",
          exclude: /node_modules/
        }
      ],
      loaders: [
        {
          test: /\.js$/,
          loader: 'babel-loader',
          exclude: /node_modules/
        },
        {
          test: /\.jsx?$/,
          loader: 'babel-loader'
        },
        {
          test: /\.json$/,
          loader: 'json-loader'
        }
      ]
    },
    node: {
      net: "empty",
      tls: "empty",
      fs: "empty"
    }
  }
  