text: const path = require("path");
  
  module.exports = {
    entry: {
      main: path.resolve(__dirname, "./src/index.js"),
    },
    output: {
      filename: "main.js",
      path: path.resolve(__dirname, "./js"),
    },
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          use: ["babel-loader"],
        },
        {
          test: /\.css$/i,
          use: ["style-loader", "css-loader"],
        },
      ],
    },
  };
  