text: const path = require('path');
  const TerserPlugin = require('terser-webpack-plugin');
  
  module.exports = {
    entry: path.resolve(__dirname, 'src', 'currency-converter.js'),
    optimization: {
      minimize: true,
      minimizer: [new TerserPlugin()],
    },
    output: {
      path: path.resolve(__dirname, 'dist'),
      filename: 'index.js',
    },
  };
  