text: const path = require('path');
  const CopyWebpackPlugin = require('copy-webpack-plugin');
  
  module.exports = {
    mode: 'development',
    entry: './src/index.js',
    output: {
      filename: 'main.js',
      path: path.resolve(__dirname, 'dist'),
      publicPath: '/',
    },
    plugins: [
      new CopyWebpackPlugin([{ from: 'assets', to: 'assets' }]),
    ],
    devServer: {
      contentBase: path.join(__dirname, 'dist'),
      compress: true,
      port: 8000,
    },
    devtool: 'source-map',
  };