text: module.exports = {
    entry: "./src/index.js",
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          use: [
            {
              loader: "babel-loader",
              query: {
                presets: ["@babel/preset-env"],
              },
            },
          ],
        },
        {
          test: /\.css$/,
          use: ["style-loader", "css-loader"],
        },
      ],
    },
    output: {
      path: __dirname + "/dist",
      publicPath: "/",
      filename: "bundle.js",
      library: "Emoji",
      libraryTarget: "umd",
      libraryExport: "default",
    },
  };
  