text: const path = require('path');
  
  module.exports = {
      entry: './src/index.js',
      output: {
          filename: 'app.bundle.js',
          path: path.resolve(__dirname, 'dist')
      },
      module: {
          rules: [
              {
                  test: /\.(js|jsx)$/,
                  exclude: /node_modules/,
                  use: ['babel-loader']
              },
              {
                  test: /\.css/,
                  exclude: /node_modules/,
                  use: ['style-loader', 'css-loader']
              }
          ]
      },
      resolve: {
          extensions: ['*', '.js', '.jsx']
      },
      devServer: {
          port: 3000,
          inline: true,
          publicPath: '/dist',
          contentBase: path.join(__dirname, 'dist'),
          watchOptions: {
              poll: 100,
              ignored: /node_modules/
          }
      }
  };