text: const webpack = require('webpack');
  
  module.exports = {
    entry: './src/index.jsx',
    module: {
      rules: [
        {
          test: /\.(js|jsx)$/,
          exclude: /node_modules/,
          use: ['babel-loader'],
        },
        {
          test: /\.css$/,
          use: ['style-loader', 'css-loader'],
        },
      ],
    },
    resolve: {
      extensions: ['*', '.js', '.jsx'],
    },
    output: {
      path: `${__dirname}/_gh-pages`,
      filename: 'index.js',
    },
    plugins: [new webpack.HotModuleReplacementPlugin()],
    devServer: {
      contentBase: './_gh-pages',
      hot: true,
    },
  };
  