text: const path = require("path");
  const CURRENT_WORKING_DIR = process.cwd();
  
  // This will configure Webpack for bundling the React code to be used in production mode,
  // where the hot reloading plugin or debug configuration will no longer be required.
  
  const config = {
    mode: "production",
    entry: [path.join(CURRENT_WORKING_DIR, "client/main.js")],
    output: {
      path: path.join(CURRENT_WORKING_DIR, "/dist"),
      filename: "bundle.js",
      publicPath: "/dist/",
    },
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          exclude: /node_modules/,
          use: ["babel-loader"],
        },
      ],
    },
  };
  
  module.exports = config;
  