text: // eslint-disable-next-line import/no-extraneous-dependencies
  const { merge } = require("webpack-merge");
  const common = require("./webpack.common");
  
  module.exports = merge(common, {
    mode: "production",
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: "/node_modules/",
          use: [
            {
              loader: "babel-loader",
              options: {
                presets: ["@babel/preset-env"],
              },
            },
          ],
        },
      ],
    },
  });
  