text: const path = require('path');
  const HtmlWebPackPlugin = require('html-webpack-plugin');
  const MiniCssExtractPlugin = require('mini-css-extract-plugin');
  
  module.exports = {
      mode: 'development',
      entry: [
          './src/scripts/client.jsx',
      ],
      plugins: [
          new HtmlWebPackPlugin({
              template: './src/views/index.html',
          }),
          new MiniCssExtractPlugin()
      ],
      module: {
          rules: [
              {
                  test: /\.(js|jsx)$/,
                  exclude: /node_modules/,
                  use: {
                      loader: 'babel-loader',
                  },
              },
              {
                  test: /\.(css|scss$)/,
                  use: [
                      MiniCssExtractPlugin.loader,
                      'css-loader',
                      'postcss-loader',
                      'sass-loader',
                  ]
              },
          ]
      }
  };
  