text: const path = require("path");
  
  module.exports = {
    mode: "development",
    entry: {
      signup: "./src/signup.js",
      login: "./src/login.js",
      create_fooditem: "./src/create-fooditem.js",
      all_fooditems: "./src/all-fooditems.js",
      admin_item:"./src/admin-item.js"
    },
    output: {
      path: path.resolve(__dirname, "public/dist"),
      filename: "[name].bundle.js"
    },
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          use: {
            loader: "babel-loader",
            options: {
              presets: ["babel-preset-env"]
            }
          }
        }
      ]
    },
    devtool: "inline-source-map"
  };
  