text: const path = require("path");
  const CopyWebpackPlugin = require("copy-webpack-plugin");
  const CleanWebpackPlugin = require("clean-webpack-plugin");
  
  module.exports = {
    mode: "production",
    entry: { "content-script": "./src/content-script.js" },
    output: {
      path: path.resolve(__dirname, "dist"),
      filename: "[name].js"
    },
    plugins: [
      new CleanWebpackPlugin(["dist"]),
      new CopyWebpackPlugin([
        "src/manifest.json",
        "icons/*.png",
      ])
    ]
  };
  