text: const path = require('path');
  const webpack = require('webpack');
  
  module.exports = {
    devtool: 'eval',
    entry: [
      'babel-polyfill',
      './src/index'
    ],
    output: {
      path: path.join(__dirname, 'dist'),
      filename: 'bundle.js',
      publicPath: '/static/'
    },
    plugins: [
      new webpack.HotModuleReplacementPlugin()
    ],
    resolve: {
      extensions: ['.js', '.jsx']
    },
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          use: ['babel-loader'],
          include: path.join(__dirname, 'src')
        },
        {
          test: /\.css$/,
          use: [
            { 
              loader: 'style-loader' 
            },
            {
              loader: 'css-loader'
            }
          ]
        }
      ]
    }
  };
  