text: 
  const path = require('path');
  const webpack = require('webpack');
  const CleanWebpackPlugin = require('clean-webpack-plugin');
  const MiniCssExtractPlugin = require('mini-css-extract-plugin');
  
  module.exports = {
      mode: 'development',
      entry: {
          example: './src/example.js'
      },
      output: {
          filename: '[name].js',
          path: path.resolve(__dirname, 'dist')
      },
      module: {
          rules: [
              {
                  test: /\.css$/,
                  use: [
                      MiniCssExtractPlugin.loader,
                      'css-loader',
                      'postcss-loader'
                  ]
              }
          ]
      },
      plugins: [
          new CleanWebpackPlugin(),
          new MiniCssExtractPlugin({
              filename: '[name].css',
          }),
      ]
  };