text: const path = require('path');
  const webpack = require('webpack');
  
  module.exports = {
    devtool: 'cheap-module-eval-source-map',
    resolve: {
      extensions: ['', '.js', '.jsx']
    },
    entry: [
      'webpack-hot-middleware/client',
      './client/index'
    ],
    output: {
      path: path.join(__dirname, 'public/assets'),
      filename: 'bundle.js',
      publicPath: '/assets/'
    },
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new webpack.NoErrorsPlugin()
    ],
    module: {
      loaders: [
        { test: /\.jsx?$/, loaders: ['babel'], include: path.join(__dirname, 'client') },
        { test: /\.css$/, loaders: ['style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]'], exclude: /node_modules/ }
      ]
    }
  };
  